Package jakarta.faces.event
Class PostRenderViewEvent
java.lang.Object
java.util.EventObject
jakarta.faces.event.SystemEvent
jakarta.faces.event.ComponentSystemEvent
jakarta.faces.event.PostRenderViewEvent
- All Implemented Interfaces:
Serializable
When an instance of this event is passed to SystemEventListener.processEvent(jakarta.faces.event.SystemEvent) or
ComponentSystemEventListener.processEvent(jakarta.faces.event.ComponentSystemEvent), the listener implementation may assume that the
source of this event instance is the UIViewRoot instance that has just been rendered.
- Since:
- 2.3
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionInstantiate a newPostRenderViewEventthat indicates the argumentroothas just been rendered.PostRenderViewEvent(FacesContext facesContext, UIViewRoot root) Instantiate a newPostRenderViewEventthat indicates the argumentroothas just been rendered. -
Method Summary
Methods inherited from class jakarta.faces.event.ComponentSystemEvent
getComponent, isAppropriateListener, processListenerMethods inherited from class jakarta.faces.event.SystemEvent
getFacesContextMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
PostRenderViewEvent
Instantiate a new
PostRenderViewEventthat indicates the argumentroothas just been rendered.- Parameters:
root- theUIViewRootthat has just been rendered.- Throws:
IllegalArgumentException- if the argument isnull.
-
PostRenderViewEvent
Instantiate a new
PostRenderViewEventthat indicates the argumentroothas just been rendered.- Parameters:
facesContext- the Faces context.root- theUIViewRootthat has just been rendered.- Throws:
IllegalArgumentException- if the argument isnull.
-