|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
javax.faces.event.FacesEvent
javax.faces.event.ActionEvent
com.esri.adf.web.faces.event.ADFEvent
public class ADFEvent
The ADFEvent is the base class which provides the basic methods for events fired by the ADF web controls.
All ADF web control events such as MapEvent
,
OverviewEvent
, etc. extend this class. It provides basic methods to get access
to the component that fired the event, the associated WebContext
as well as the
parameters of the current request.
Field Summary | |
---|---|
protected WebContext |
context
The WebContext associated with this event. |
protected Map<String,String> |
parameters
The parameters of the current request |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ADFEvent(javax.faces.component.UIComponent source,
javax.faces.context.FacesContext facesContext,
WebContext context)
Constructs a new ADF event object from the specified source component, in the current FacesContext
and with the associated WebContext |
Method Summary | |
---|---|
String |
getParameter(String paramName)
Returns the request parameter with the given paramName . |
WebContext |
getWebContext()
Returns the WebContext associated with this event |
Methods inherited from class javax.faces.event.ActionEvent |
---|
isAppropriateListener, processListener |
Methods inherited from class javax.faces.event.FacesEvent |
---|
getComponent, getPhaseId, queue, setPhaseId |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected WebContext context
The WebContext
associated with this event.
protected Map<String,String> parameters
The parameters of the current request
Constructor Detail |
---|
public ADFEvent(javax.faces.component.UIComponent source, javax.faces.context.FacesContext facesContext, WebContext context)
Constructs a new ADF event object from the specified source component, in the current FacesContext
and with the associated WebContext
source
- the source component that fired this eventfacesContext
- the current FacesContext
context
- the WebContext
associated with this eventMethod Detail |
---|
public String getParameter(String paramName)
Returns the request parameter with the given paramName
.
paramName
- the name of the request parameter
paramName
public WebContext getWebContext()
Returns the WebContext
associated with this event
WebContext
associated with this event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |