public class FacesViewActionEvent
extends javax.faces.event.ActionEvent
source
Constructor and Description |
---|
FacesViewActionEvent(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Creates a new
IlvFacesViewActionEvent instance. |
Modifier and Type | Method and Description |
---|---|
String[] |
getAdditionalParameters()
Returns the optional additional parameters.
|
javax.faces.context.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(javax.faces.event.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.
|
getComponent, getPhaseId, queue, setPhaseId
getSource, toString
public FacesViewActionEvent(javax.faces.context.FacesContext context, javax.faces.component.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 javax.faces.context.FacesContext getContext()
public boolean isAppropriateListener(javax.faces.event.FacesListener listener)
Return true
if this listener is an instance
of FacesViewActionListener
.
isAppropriateListener
in class javax.faces.event.ActionEvent
listener
- The listener to evaluate© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.