com.esri.adf.web.faces.event
Class OverviewEvent
java.lang.Object
java.util.EventObject
javax.faces.event.FacesEvent
javax.faces.event.ActionEvent
com.esri.adf.web.faces.event.ADFEvent
com.esri.adf.web.faces.event.OverviewEvent
- All Implemented Interfaces:
- Serializable
public class OverviewEvent
- extends ADFEvent
The EventArgs object for the OverviewControl
for storing the bounding box
coordinates of the overview rectangle. The associated WebOverview
object is responsible
for handling this event.
- See Also:
- Serialized Form
Constructor Summary |
OverviewEvent(javax.faces.component.UIComponent source,
javax.faces.context.FacesContext facesContext,
WebContext context,
int mode,
int minX,
int minY,
int maxX,
int maxY)
Constructs the OverviewEventArgs object and stores the bounding box coordinates of the overview's area of interest. |
Method Summary |
int |
getMaxX()
Returns the maxx point to zoom in. |
int |
getMaxY()
Returns the maxy point to zoom in. |
int |
getMinX()
Returns the minx point to zoom in. |
int |
getMinY()
Returns the miny point to zoom in. |
int |
getMode()
Returns the action to perform in the map control. |
Methods inherited from class javax.faces.event.ActionEvent |
isAppropriateListener, processListener |
Methods inherited from class javax.faces.event.FacesEvent |
getComponent, getPhaseId, queue, setPhaseId |
ZOOM
public static final int ZOOM
- See Also:
- Constant Field Values
RECENTER
public static final int RECENTER
- See Also:
- Constant Field Values
OverviewEvent
public OverviewEvent(javax.faces.component.UIComponent source,
javax.faces.context.FacesContext facesContext,
WebContext context,
int mode,
int minX,
int minY,
int maxX,
int maxY)
- Constructs the OverviewEventArgs object and stores the bounding box coordinates of the overview's area of interest.
- Parameters:
source
- the JSF componentfacesContext
- the FacesContext
context
- the WebContext
mode
- the action to perform on the map controlminX
- the minx value in screen coordinatesminY
- the miny value in screen coordinatesmaxX
- the maxx value in screen coordinatesmaxY
- the maxy value in screen coordinates
getMinY
public int getMinY()
- Returns the miny point to zoom in.
- Returns:
- int- the miny point
getMinX
public int getMinX()
- Returns the minx point to zoom in.
- Returns:
- int- the minx point
getMaxY
public int getMaxY()
- Returns the maxy point to zoom in.
- Returns:
- int- the maxy point
getMaxX
public int getMaxX()
- Returns the maxx point to zoom in.
- Returns:
- int- the maxx point
getMode
public int getMode()
- Returns the action to perform in the map control. Either OverviewEvent.ZOOM or OverviewEvent.RECENTER
- Returns:
- String- the action value