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(SystemEvent) or
ComponentSystemEventListener.processEvent(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 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 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
-
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.
-