skrueger.geotools
Class XMapPaneAction_Zoom.In

java.lang.Object
  extended by skrueger.geotools.XMapPaneAction_Zoom
      extended by skrueger.geotools.XMapPaneAction_Zoom.In
All Implemented Interfaces:
XMapPaneAction
Enclosing class:
XMapPaneAction_Zoom

public static class XMapPaneAction_Zoom.In
extends XMapPaneAction_Zoom


Nested Class Summary
 
Nested classes/interfaces inherited from class skrueger.geotools.XMapPaneAction_Zoom
XMapPaneAction_Zoom.In, XMapPaneAction_Zoom.Out
 
Field Summary
 
Fields inherited from interface skrueger.geotools.XMapPaneAction
PAN, SELECT_ALL, SELECT_ONE_FROM_TOP, SELECT_TOP, ZOOM_IN, ZOOM_OUT
 
Constructor Summary
XMapPaneAction_Zoom.In()
           
 
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 skrueger.geotools.XMapPaneAction_Zoom
performDragging
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMapPaneAction_Zoom.In

public XMapPaneAction_Zoom.In()
Method Detail

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 on
ev - mouse event of the action
coord - 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 on
wheelEvt - mouse event of the action
coord - 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 on
ev - mouse event of the action
dragStartPos - window position the window starts (the end position can be determined from the mouse event)
startCoord - geo coordinate the window starts
endCoord - 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 ignored
mapPane - map pane the action should be performed on