|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectskrueger.geotools.XMapPaneActionAdapter
public class XMapPaneActionAdapter
Empty implementation of XMapPaneAction
. No method of this class
does anything.
Field Summary |
---|
Fields inherited from interface skrueger.geotools.XMapPaneAction |
---|
PAN, SELECT_ALL, SELECT_ONE_FROM_TOP, SELECT_TOP, ZOOM_IN, ZOOM_OUT |
Constructor Summary | |
---|---|
XMapPaneActionAdapter()
|
Method Summary | |
---|---|
void |
performClick(XMapPane mapPane,
MouseEvent ev,
DirectPosition coord)
Implements the action on a mouse click event. |
void |
performDragged(XMapPane mapPane,
MouseEvent ev,
Point dragStartPos,
Point dragLastPos,
DirectPosition startCoord,
DirectPosition endCoord)
Implements the action AFTER a mouse drag has ended. |
void |
performDragging(XMapPane mapPane,
MouseEvent ev,
Point dragStartPos,
Point dragLastPos,
DirectPosition startCoord,
DirectPosition endCoord)
Implements the action DURING a mouse drag. |
void |
performKeyboard(XMapPane mapPane,
Object param)
Implements the action on a keyboard stroke. |
void |
performWheel(XMapPane mapPane,
MouseWheelEvent ev,
DirectPosition coord)
Implements the action on mouse wheel event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMapPaneActionAdapter()
Method Detail |
---|
public void performClick(XMapPane mapPane, MouseEvent ev, DirectPosition coord)
performClick
in interface XMapPaneAction
mapPane
- map pane the action should be performed onev
- mouse event of the actioncoord
- geo coordinate the click is performed onpublic void performDragged(XMapPane mapPane, MouseEvent ev, Point dragStartPos, Point dragLastPos, DirectPosition startCoord, DirectPosition endCoord)
performDragged
in interface XMapPaneAction
mapPane
- map pane the action should be performed onev
- mouse event of the actiondragStartPos
- window position the window starts (the end position can be
determined from the mouse event)startCoord
- geo coordinate the window startsendCoord
- geo coordinate the window endspublic void performDragging(XMapPane mapPane, MouseEvent ev, Point dragStartPos, Point dragLastPos, DirectPosition startCoord, DirectPosition endCoord)
performDragging
in interface XMapPaneAction
mapPane
- map pane the action should be performed onev
- mouse event of the actiondragStartPos
- window position the drag was started (the current position can
be determined from the mouse event)startCoord
- geo coordinate the drag was startedendCoord
- geo coordinate the drag is currently moved overpublic void performKeyboard(XMapPane mapPane, Object param)
performKeyboard
in interface XMapPaneAction
mapPane
- map pane the action should be performed onparam
- An optinal paramter that can be defined.public void performWheel(XMapPane mapPane, MouseWheelEvent ev, DirectPosition coord)
performWheel
in interface XMapPaneAction
mapPane
- map pane the action should be performed onev
- mouse event of the actioncoord
- geo coordinate the wheel is turned on
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |