com.esri.adf.web.faces.event
Class PanToolAction

java.lang.Object
  extended bycom.esri.adf.web.faces.event.PanToolAction
All Implemented Interfaces:
MapToolAction, java.io.Serializable, ToolAction

public class PanToolAction
extends java.lang.Object
implements MapToolAction

See Also:
Serialized Form

Constructor Summary
PanToolAction()
           
 
Method Summary
 void execute(MapEvent args)
           The method called by the MapControl when the client invokes this tool action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PanToolAction

public PanToolAction()
Method Detail

execute

public void execute(MapEvent args)
             throws java.lang.Exception
Description copied from interface: MapToolAction

The method called by the MapControl when the client invokes this tool action.

Tools get important information from the MapEvent such as the associated WebContext, the ClientActionArgs and a WebGeometry representing the shape drawn by the client on the screen. Please refer to the documentation for the MapEvent for more details.

Specified by:
execute in interface MapToolAction
Parameters:
args - the MapEvent to execute this tool
Throws:
java.lang.Exception - if an error happens while executing the tool. The MapControl aborts processing the current event when this happens.