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

java.lang.Object
  extended by com.esri.adf.web.faces.event.DirectionalPanListener
All Implemented Interfaces:
EventListener, javax.faces.event.ActionListener, javax.faces.event.FacesListener

public class DirectionalPanListener
extends Object
implements javax.faces.event.ActionListener

Performs a directional pan of the map by direction and factor.


Field Summary
static String CONTEXT_ID
          An attribute used by the listener to specify the ID of the associated ContextControl.
static double DEFAULT_FACTOR
          The default factor to zoom.
static String DIRECTION
          An attribute used by the listener defining which direction to pan.
static String FACTOR
          An attribute used by the listener defining the the panning factor.
 
Constructor Summary
DirectionalPanListener()
           
 
Method Summary
 void processAction(javax.faces.event.ActionEvent event)
          Performs the directional pan action based on the direction and factor passed in the attributes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_FACTOR

public static final double DEFAULT_FACTOR
The default factor to zoom.

See Also:
Constant Field Values

DIRECTION

public static final String DIRECTION
An attribute used by the listener defining which direction to pan.

See Also:
Constant Field Values

FACTOR

public static final String FACTOR
An attribute used by the listener defining the the panning factor.

See Also:
Constant Field Values

CONTEXT_ID

public static final String CONTEXT_ID
An attribute used by the listener to specify the ID of the associated ContextControl.

See Also:
Constant Field Values
Constructor Detail

DirectionalPanListener

public DirectionalPanListener()
Method Detail

processAction

public void processAction(javax.faces.event.ActionEvent event)
                   throws javax.faces.event.AbortProcessingException
Performs the directional pan action based on the direction and factor passed in the attributes. If no attributes are set, the default values for direction and factor are used to pan the map.

Specified by:
processAction in interface javax.faces.event.ActionListener
Parameters:
event - the ActionEvent
Throws:
javax.faces.event.AbortProcessingException