public class MouseEventAdapter<T>
extends java.awt.event.MouseAdapter
implements javax.swing.event.MouseInputListener
Constructor and Description |
---|
MouseEventAdapter(T adapter) |
Modifier and Type | Method and Description |
---|---|
static javax.swing.event.MenuDragMouseEvent |
convert(javax.swing.event.MenuDragMouseEvent event,
java.awt.Component source,
int id,
long when,
int modifiers,
int x,
int y) |
protected java.awt.event.MouseEvent |
convert(java.awt.event.MouseEvent event) |
static java.awt.event.MouseEvent |
convert(java.awt.event.MouseEvent event,
java.awt.Component source) |
static java.awt.event.MouseEvent |
convert(java.awt.event.MouseEvent event,
java.awt.Component source,
int x,
int y) |
static java.awt.event.MouseEvent |
convert(java.awt.event.MouseEvent event,
java.awt.Component source,
int id,
long when,
int modifiers,
int x,
int y) |
protected java.awt.event.MouseWheelEvent |
convert(java.awt.event.MouseWheelEvent event) |
static java.awt.event.MouseWheelEvent |
convert(java.awt.event.MouseWheelEvent event,
java.awt.Component source,
int id,
long when,
int modifiers,
int x,
int y) |
protected java.awt.event.MouseListener |
getMouseListener(T adapter) |
protected java.awt.event.MouseMotionListener |
getMouseMotionListener(T adapter) |
protected java.awt.event.MouseWheelListener |
getMouseWheelListener(T adapter) |
void |
mouseClicked(java.awt.event.MouseEvent event) |
void |
mouseDragged(java.awt.event.MouseEvent event) |
void |
mouseEntered(java.awt.event.MouseEvent event) |
void |
mouseExited(java.awt.event.MouseEvent event) |
void |
mouseMoved(java.awt.event.MouseEvent event) |
void |
mousePressed(java.awt.event.MouseEvent event) |
void |
mouseReleased(java.awt.event.MouseEvent event) |
void |
mouseWheelMoved(java.awt.event.MouseWheelEvent event) |
static void |
redispatch(java.awt.event.MouseEvent event,
java.awt.Component source) |
static void |
redispatch(java.awt.event.MouseEvent event,
java.awt.Component source,
int x,
int y) |
public MouseEventAdapter(T adapter)
public void mouseEntered(java.awt.event.MouseEvent event)
mouseEntered
in interface java.awt.event.MouseListener
mouseEntered
in class java.awt.event.MouseAdapter
public void mousePressed(java.awt.event.MouseEvent event)
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class java.awt.event.MouseAdapter
public void mouseClicked(java.awt.event.MouseEvent event)
mouseClicked
in interface java.awt.event.MouseListener
mouseClicked
in class java.awt.event.MouseAdapter
public void mouseReleased(java.awt.event.MouseEvent event)
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class java.awt.event.MouseAdapter
public void mouseExited(java.awt.event.MouseEvent event)
mouseExited
in interface java.awt.event.MouseListener
mouseExited
in class java.awt.event.MouseAdapter
public void mouseMoved(java.awt.event.MouseEvent event)
mouseMoved
in interface java.awt.event.MouseMotionListener
mouseMoved
in class java.awt.event.MouseAdapter
public void mouseDragged(java.awt.event.MouseEvent event)
mouseDragged
in interface java.awt.event.MouseMotionListener
mouseDragged
in class java.awt.event.MouseAdapter
public void mouseWheelMoved(java.awt.event.MouseWheelEvent event)
mouseWheelMoved
in interface java.awt.event.MouseWheelListener
mouseWheelMoved
in class java.awt.event.MouseAdapter
protected java.awt.event.MouseListener getMouseListener(T adapter)
protected java.awt.event.MouseMotionListener getMouseMotionListener(T adapter)
protected java.awt.event.MouseWheelListener getMouseWheelListener(T adapter)
protected java.awt.event.MouseEvent convert(java.awt.event.MouseEvent event)
protected java.awt.event.MouseWheelEvent convert(java.awt.event.MouseWheelEvent event)
public static java.awt.event.MouseEvent convert(java.awt.event.MouseEvent event, java.awt.Component source)
public static java.awt.event.MouseEvent convert(java.awt.event.MouseEvent event, java.awt.Component source, int x, int y)
public static java.awt.event.MouseEvent convert(java.awt.event.MouseEvent event, java.awt.Component source, int id, long when, int modifiers, int x, int y)
public static java.awt.event.MouseWheelEvent convert(java.awt.event.MouseWheelEvent event, java.awt.Component source, int id, long when, int modifiers, int x, int y)
public static javax.swing.event.MenuDragMouseEvent convert(javax.swing.event.MenuDragMouseEvent event, java.awt.Component source, int id, long when, int modifiers, int x, int y)
public static void redispatch(java.awt.event.MouseEvent event, java.awt.Component source)
public static void redispatch(java.awt.event.MouseEvent event, java.awt.Component source, int x, int y)