public class PostRestoreStateEvent extends ComponentSystemEvent
When an instance of this event is passed
to SystemEventListener.processEvent(javax.faces.event.SystemEvent)
or ComponentSystemEventListener.processEvent(javax.faces.event.ComponentSystemEvent)
, the listener
implementation may assume that the source
of this event
instance is in a tree that has just had its state restored.
Constructor and Description |
---|
PostRestoreStateEvent(FacesContext facesContext,
UIComponent component)
Instantiate a new
|
PostRestoreStateEvent(UIComponent component)
Instantiate a new
|
Modifier and Type | Method and Description |
---|---|
void |
setComponent(UIComponent newComponent) |
getComponent, isAppropriateListener, processListener
getFacesContext
public PostRestoreStateEvent(UIComponent component)
Instantiate a new
PostRestoreStateEvent
that indicates the argument
component
just had its state restored.
component
- the UIComponent
whose state was just restored.java.lang.IllegalArgumentException
- if the argument is null
.public PostRestoreStateEvent(FacesContext facesContext, UIComponent component)
Instantiate a new
PostRestoreStateEvent
that indicates the argument
component
just had its state restored.
facesContext
- the Faces context.component
- the UIComponent
whose state was just restored.java.lang.IllegalArgumentException
- if the argument is null
.public void setComponent(UIComponent newComponent)