Class PostRestoreStateEvent
java.lang.Object
java.util.EventObject
jakarta.faces.event.SystemEvent
jakarta.faces.event.ComponentSystemEvent
jakarta.faces.event.PostRestoreStateEvent
- All Implemented Interfaces:
Serializable
When an instance of this event is passed to SystemEventListener.processEvent(SystemEvent) or
ComponentSystemEventListener.processEvent(ComponentSystemEvent), the listener implementation may assume that the
source of this event instance is in a tree that has just had its state restored.
- Since:
- 2.0
- See Also:
-
Field Summary
Fields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionPostRestoreStateEvent(UIComponent component) Instantiate a newPostRestoreStateEventthat indicates the argumentcomponentjust had its state restored.PostRestoreStateEvent(FacesContext facesContext, UIComponent component) Instantiate a newPostRestoreStateEventthat indicates the argumentcomponentjust had its state restored. -
Method Summary
Methods inherited from class ComponentSystemEvent
getComponent, isAppropriateListener, processListenerModifier and TypeMethodDescriptionthe sourceUIComponentthat sent this event.booleanisAppropriateListener(FacesListener listener) Returntrueif the argumentFacesListeneris an instance of the appropriate listener class that this event supports.voidprocessListener(FacesListener listener) Broadcast this event instance to the specifiedFacesListenerby calling the superclass'sprocessListener()implementation.Methods inherited from class SystemEvent
getFacesContextMethods inherited from class EventObject
getSource, toString
-
Constructor Details
-
PostRestoreStateEvent
Instantiate a new
PostRestoreStateEventthat indicates the argumentcomponentjust had its state restored.- Parameters:
component- theUIComponentwhose state was just restored.- Throws:
IllegalArgumentException- if the argument isnull.
-
PostRestoreStateEvent
Instantiate a new
PostRestoreStateEventthat indicates the argumentcomponentjust had its state restored.- Parameters:
facesContext- the Faces context.component- theUIComponentwhose state was just restored.- Throws:
IllegalArgumentException- if the argument isnull.
-
-
Method Details
-
setComponent
-