public class FacesViewActionEvent extends ActionEvent
source
Constructor and Description |
---|
FacesViewActionEvent(FacesContext context,
UIComponent component)
Creates a new
IlvFacesViewActionEvent instance. |
Modifier and Type | Method and Description |
---|---|
String[] |
getAdditionalParameters()
Returns the optional additional parameters.
|
FacesContext |
getContext()
Returns the current faces context.
|
Object |
getGraphicComponent()
Returns the graphic component that contains the selected object.
|
Object |
getObject()
Returns the object selected on the graphic component when this
action was triggered, or
null if no object was
selected. |
boolean |
isAppropriateListener(FacesListener listener)
Return
true if this listener is an instance
of FacesViewActionListener . |
void |
setAdditionalParameters(String[] additionalParameters)
Sets the optional additional parameters.
|
void |
setGraphicComponent(Object graphicComponent)
Sets the graphic component that contains the selected object.
|
void |
setObject(Object object)
Returns the object selected on the graphic component when this
action was triggered.
|
processListener
getComponent, getPhaseId, queue, setPhaseId
getSource, toString
public FacesViewActionEvent(FacesContext context, UIComponent component)
IlvFacesViewActionEvent
instance.context
- The current faces context.component
- The event source component.public Object getGraphicComponent()
public void setGraphicComponent(Object graphicComponent)
graphicComponent
- The graphic component.public Object getObject()
null
if no object was
selected.public void setObject(Object object)
object
- The selected object.public String[] getAdditionalParameters()
public void setAdditionalParameters(String[] additionalParameters)
additionalParameters
- The optional additional parameters.public FacesContext getContext()
public boolean isAppropriateListener(FacesListener listener)
Return true
if this listener is an instance
of FacesViewActionListener
.
isAppropriateListener
in class ActionEvent
listener
- The listener to evaluate© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.