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
public class PostRenderViewEvent 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 thesource
of this event instance is theUIViewRoot
instance that has just been rendered.- Since:
- 2.3
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description PostRenderViewEvent(UIViewRoot root)
Instantiate a newPostRenderViewEvent
that indicates the argumentroot
has just been rendered.PostRenderViewEvent(FacesContext facesContext, UIViewRoot root)
Instantiate a newPostRenderViewEvent
that indicates the argumentroot
has just been rendered.
-
Method Summary
-
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
-
PostRenderViewEvent
public PostRenderViewEvent(UIViewRoot root)
Instantiate a new
PostRenderViewEvent
that indicates the argumentroot
has just been rendered.- Parameters:
root
- theUIViewRoot
that has just been rendered.- Throws:
IllegalArgumentException
- if the argument isnull
.
-
PostRenderViewEvent
public PostRenderViewEvent(FacesContext facesContext, UIViewRoot root)
Instantiate a new
PostRenderViewEvent
that indicates the argumentroot
has just been rendered.- Parameters:
facesContext
- the Faces context.root
- theUIViewRoot
that has just been rendered.- Throws:
IllegalArgumentException
- if the argument isnull
.
-
-