public class PreRenderComponentEvent extends ComponentSystemEvent
このイベントのインスタンスが SystemEventListener.processEvent(jakarta.faces.event.SystemEvent) または ComponentSystemEventListener.processEvent(jakarta.faces.event.ComponentSystemEvent) に渡されると、リスナーの実装は、このイベントインスタンスの source がレンダリングされる UIComponent インスタンスであり、UIComponent.getParent()、UIComponent.getClientId()、その他のメソッドを呼び出しても安全であると想定する場合があります。ビューにあるコンポーネントインスタンスに依存します。
sourceSE| コンストラクターと説明 |
|---|
PreRenderComponentEvent(FacesContext facesContext, UIComponent component) 引数 |
PreRenderComponentEvent(UIComponent component) 引数 |
getComponent, isAppropriateListener, processListenergetFacesContextgetSourceSE, toStringSEcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic PreRenderComponentEvent(UIComponent component)
引数 component がレンダリングされようとしていることを示す新しい PreRenderComponentEvent をインスタンス化します。
component - レンダリングされる UIComponent IllegalArgumentExceptionSE - 引数が null の場合。public PreRenderComponentEvent(FacesContext facesContext, UIComponent component)
引数 component がレンダリングされようとしていることを示す新しい PreRenderComponentEvent をインスタンス化します。
facesContext - Faces コンテキスト。component - レンダリングされる UIComponent IllegalArgumentExceptionSE - 引数が null の場合。Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.