skrueger.geotools
Class XMapPaneAction_Zoom.In
java.lang.Object
skrueger.geotools.XMapPaneAction_Zoom
skrueger.geotools.XMapPaneAction_Zoom.In
- All Implemented Interfaces:
- XMapPaneAction
- Enclosing class:
- XMapPaneAction_Zoom
public static class XMapPaneAction_Zoom.In
- extends XMapPaneAction_Zoom
Method Summary |
void |
performClick(XMapPane mapPane,
MouseEvent ev,
DirectPosition coord)
Defines the action in case of a single click on the map. |
void |
performDragged(XMapPane mapPane,
MouseEvent ev,
Point dragStartPos,
Point dragLastPos,
DirectPosition startCoord,
DirectPosition endCoord)
Defines the action in case of a window selection on the map (the moment a
drag ends). |
void |
performKeyboard(XMapPane mapPane,
Object param)
Defines what happens if this action has been triggered by a keyboard-key. |
void |
performWheel(XMapPane mapPane,
MouseWheelEvent wheelEvt,
DirectPosition coord)
Defines the action in case of a mouse wheel action on the map (the moment
a drag ends). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMapPaneAction_Zoom.In
public XMapPaneAction_Zoom.In()
performClick
public void performClick(XMapPane mapPane,
MouseEvent ev,
DirectPosition coord)
- Description copied from interface:
XMapPaneAction
- Defines the action in case of a single click on the map. Called by ###
XMapPaneMouseAdapter ### on
MouseInputType.LClick
and
MouseInputType.RClick
.
- Parameters:
mapPane
- map pane the action should be performed onev
- mouse event of the actioncoord
- geo coordinate the click is performed on
performWheel
public void performWheel(XMapPane mapPane,
MouseWheelEvent wheelEvt,
DirectPosition coord)
- Description copied from interface:
XMapPaneAction
- Defines the action in case of a mouse wheel action on the map (the moment
a drag ends).
- Parameters:
mapPane
- map pane the action should be performed onwheelEvt
- mouse event of the actioncoord
- geo coordinate the wheel is turned on
performDragged
public void performDragged(XMapPane mapPane,
MouseEvent ev,
Point dragStartPos,
Point dragLastPos,
DirectPosition startCoord,
DirectPosition endCoord)
- Description copied from interface:
XMapPaneAction
- Defines the action in case of a window selection on the map (the moment a
drag ends).
- Parameters:
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 ends
performKeyboard
public void performKeyboard(XMapPane mapPane,
Object param)
- Description copied from interface:
XMapPaneAction
- Defines what happens if this action has been triggered by a keyboard-key.
- Parameters:
param
- is ignoredmapPane
- map pane the action should be performed on