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

java.lang.Object
  extended by com.esri.adf.web.faces.event.ClientActionArgs
      extended by com.esri.adf.web.faces.event.PolygonArgs
All Implemented Interfaces:
Serializable

public class PolygonArgs
extends ClientActionArgs

The PolygonArgs class parses request parameters from a client tool action and stores information pertaining to a polygon event on the map. Client tools using JavaScript method MapPolygon use this class.

See Also:
Serialized Form

Field Summary
protected  WebPolygon mappolygon
           
protected  WebPolygon polygon
           
 
Fields inherited from class com.esri.adf.web.faces.event.ClientActionArgs
controlId, requestParameters
 
Constructor Summary
PolygonArgs()
           
 
Method Summary
 WebGeometry getMapGeometry()
           
 WebGeometry getWebGeometry()
           
 void init()
          Initializes the PolygonArgs object by setting all the x,y points from the request parameters.
 
Methods inherited from class com.esri.adf.web.faces.event.ClientActionArgs
addClientActionArgs, getClientActionArgs, getControlId, getRequestParameters, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

polygon

protected WebPolygon polygon

mappolygon

protected WebPolygon mappolygon
Constructor Detail

PolygonArgs

public PolygonArgs()
Method Detail

init

public void init()
          throws Exception
Initializes the PolygonArgs object by setting all the x,y points from the request parameters.

Specified by:
init in class ClientActionArgs
Throws:
Exception

getWebGeometry

public WebGeometry getWebGeometry()
Specified by:
getWebGeometry in class ClientActionArgs

getMapGeometry

public WebGeometry getMapGeometry()
Specified by:
getMapGeometry in class ClientActionArgs