## Uses of Class
javax.faces.event.ComponentSystemEvent

- Packages that use ComponentSystemEvent
  Package | Description
  --- | ---
  javax.faces.component | Fundamental APIs for user interface components.
  javax.faces.event | Interfaces describing events and event listeners, and concrete event implementation classes.

- - ### Uses of ComponentSystemEvent in javax.faces.component

    Methods in javax.faces.component with parameters of type ComponentSystemEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | UIComponent.`processEvent(ComponentSystemEvent event)` The default implementation performs the following action.

  - ### Uses of ComponentSystemEvent in javax.faces.event

    Subclasses of ComponentSystemEvent in javax.faces.event
    Modifier and Type | Class and Description
    --- | ---
    `class` | `PostAddToViewEvent` 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 a `UIComponent` instance and that either that instance or an ancestor of that instance was just added to the view.
    `class` | `PostConstructViewMapEvent` This event must be published by a call to {javax.faces.application.Application#publishEvent} when the view map is first created.
    `class` | `PostRestoreStateEvent` 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.
    `class` | `PostValidateEvent` 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 the `UIComponent` instance that is that has just been validated.
    `class` | `PreDestroyViewMapEvent` This event must be published by a call to `Application.publishEvent(javax.faces.context.FacesContext, java.lang.Class<? extends javax.faces.event.SystemEvent>, java.lang.Object)` when the `clear` method is called on the map returned from `UIViewRoot.getViewMap()`.
    `class` | `PreRemoveFromViewEvent` 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 a `UIComponent` instance that is about to be removed from the view.
    `class` | `PreRenderComponentEvent` 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 the `UIComponent` instance that is about to be rendered and that it is safe to call `UIComponent.getParent()`, `UIComponent.getClientId()`, and other methods that depend upon the component instance being in the view.
    `class` | `PreRenderViewEvent` 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 the `UIViewRoot` instance that is about to be rendered.
    `class` | `PreValidateEvent` 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 the `UIComponent` instance that is about to be validated.

    Methods in javax.faces.event with parameters of type ComponentSystemEvent
    Modifier and Type | Method and Description
    --- | ---
    `void` | ComponentSystemEventListener.`processEvent(ComponentSystemEvent event)` When called, the listener can assume that any guarantees given in the javadoc for the specific `SystemEvent` subclass are true.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.