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