Package javax.faces.event
Class PreRenderComponentEvent
- java.lang.Object
-
- java.util.EventObject
-
- javax.faces.event.SystemEvent
-
- javax.faces.event.ComponentSystemEvent
-
- javax.faces.event.PreRenderComponentEvent
-
public class PreRenderComponentEvent extends ComponentSystemEvent
When an instance of this event is passed to
SystemEventListener.processEvent(javax.faces.event.SystemEvent)
orComponentSystemEventListener.processEvent(javax.faces.event.ComponentSystemEvent)
, the listener implementation may assume that thesource
of this event instance is theUIComponent
instance that is about to be rendered and that it is safe to callUIComponent.getParent()
,UIComponent.getClientId()
, and other methods that depend upon the component instance being in the view.- Since:
- 2.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PreRenderComponentEvent(UIComponent component)
Instantiate a newPreRenderComponentEvent
that indicates the argumentcomponent
is about to be rendered.
-
Method Summary
-
Methods inherited from class javax.faces.event.ComponentSystemEvent
getComponent, isAppropriateListener, processListener
-
-
-
-
Constructor Detail
-
PreRenderComponentEvent
public PreRenderComponentEvent(UIComponent component)
Instantiate a new
PreRenderComponentEvent
that indicates the argumentcomponent
is about to be rendered.- Parameters:
component
- theUIComponent
that is about to be rendered.
-
-