Class PostRestoreStateEvent

All Implemented Interfaces:
Serializable

public class PostRestoreStateEvent extends ComponentSystemEvent

When an instance of this event is passed to SystemEventListener.processEvent(javax.faces.event.SystemEvent) or ComponentSystemEventListener.processEvent(javax.faces.event.ComponentSystemEvent), the listener implementation may assume that the source of this event instance is in a tree that has just had its state restored.

Since:
2.0
See Also:
  • Constructor Details

    • PostRestoreStateEvent

      public PostRestoreStateEvent(UIComponent component)

      Instantiate a new PostRestoreStateEvent that indicates the argument component just had its state restored.

      Parameters:
      component - the UIComponent whose state was just restored.
      Throws:
      IllegalArgumentException - if the argument is null.
    • PostRestoreStateEvent

      public PostRestoreStateEvent(FacesContext facesContext, UIComponent component)

      Instantiate a new PostRestoreStateEvent that indicates the argument component just had its state restored.

      Parameters:
      facesContext - the Faces context.
      component - the UIComponent whose state was just restored.
      Throws:
      IllegalArgumentException - if the argument is null.
  • Method Details

    • setComponent

      public void setComponent(UIComponent newComponent)