|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectMapMouseAdapter
public class MapMouseAdapter
An adapter class that implements all of the mouse event handling methods defined in the MapMouseListener interface as empty methods, allowing sub-classes to just override the methods they need.
modules/unsupported/swing (gt-swing.jar)
Constructor Summary | |
---|---|
MapMouseAdapter()
|
Method Summary | |
---|---|
void |
onMouseClicked(MapMouseEvent ev)
Respond to a mouse click event received from the map pane |
void |
onMouseDragged(MapMouseEvent ev)
Respond to a mouse dragged event received from the map pane |
void |
onMouseEntered(MapMouseEvent ev)
Respond to a mouse entered event received from the map pane |
void |
onMouseExited(MapMouseEvent ev)
Respond to a mouse exited event received from the map pane |
void |
onMouseMoved(MapMouseEvent ev)
Respond to a mouse movement event received from the map pane |
void |
onMousePressed(MapMouseEvent ev)
Respond to a mouse button press event received from the map pane |
void |
onMouseReleased(MapMouseEvent ev)
Respond to a mouse button release event received from the map pane |
void |
onMouseWheelMoved(MapMouseEvent ev)
Respond to a mouse wheel scroll event received from the map pane |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapMouseAdapter()
Method Detail |
---|
public void onMouseClicked(MapMouseEvent ev)
onMouseClicked
in interface MapMouseListener
ev
- the mouse eventpublic void onMouseDragged(MapMouseEvent ev)
onMouseDragged
in interface MapMouseListener
ev
- the mouse eventpublic void onMouseEntered(MapMouseEvent ev)
onMouseEntered
in interface MapMouseListener
ev
- the mouse eventpublic void onMouseExited(MapMouseEvent ev)
onMouseExited
in interface MapMouseListener
ev
- the mouse eventpublic void onMouseMoved(MapMouseEvent ev)
onMouseMoved
in interface MapMouseListener
ev
- the mouse eventpublic void onMousePressed(MapMouseEvent ev)
onMousePressed
in interface MapMouseListener
ev
- the mouse eventpublic void onMouseReleased(MapMouseEvent ev)
onMouseReleased
in interface MapMouseListener
ev
- the mouse eventpublic void onMouseWheelMoved(MapMouseEvent ev)
onMouseWheelMoved
in interface MapMouseListener
ev
- the mouse event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |