Package jakarta.faces.event
Class PostRestoreStateEvent
- java.lang.Object
-
- java.util.EventObject
-
- jakarta.faces.event.SystemEvent
-
- jakarta.faces.event.ComponentSystemEvent
-
- jakarta.faces.event.PostRestoreStateEvent
-
- All Implemented Interfaces:
Serializable
public class PostRestoreStateEvent extends ComponentSystemEvent
When an instance of this event is passed to
SystemEventListener.processEvent(jakarta.faces.event.SystemEvent)orComponentSystemEventListener.processEvent(jakarta.faces.event.ComponentSystemEvent), the listener implementation may assume that thesourceof this event instance is in a tree that has just had its state restored.- Since:
- 2.0
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description PostRestoreStateEvent(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetComponent(UIComponent newComponent)-
Methods inherited from class jakarta.faces.event.ComponentSystemEvent
getComponent, isAppropriateListener, processListener
-
Methods inherited from class jakarta.faces.event.SystemEvent
getFacesContext
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
PostRestoreStateEvent
public PostRestoreStateEvent(UIComponent component)
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
public PostRestoreStateEvent(FacesContext facesContext, UIComponent component)
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 Detail
-
setComponent
public void setComponent(UIComponent newComponent)
-
-