public class ClientBehaviorRedirectEventComponentWrapper extends UIComponent implements FacesWrapper<UIComponent>, ClientBehaviorHolder
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
Constructor and Description |
---|
ClientBehaviorRedirectEventComponentWrapper(UIComponent delegate,
String sourceEvent,
String targetEvent) |
getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getPassThroughAttributes, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState
public ClientBehaviorRedirectEventComponentWrapper(UIComponent delegate, String sourceEvent, String targetEvent)
public UIComponent getWrapped()
getWrapped
in interface FacesWrapper<UIComponent>
public void addClientBehavior(String eventName, ClientBehavior behavior)
addClientBehavior
in interface ClientBehaviorHolder
public Map<String,List<ClientBehavior>> getClientBehaviors()
getClientBehaviors
in interface ClientBehaviorHolder
public String getDefaultEventName()
getDefaultEventName
in interface ClientBehaviorHolder
public Collection<String> getEventNames()
getEventNames
in interface ClientBehaviorHolder
public void broadcast(FacesEvent event) throws AbortProcessingException
broadcast
in class UIComponent
AbortProcessingException
public void clearInitialState()
clearInitialState
in interface PartialStateHolder
clearInitialState
in class UIComponent
public void decode(FacesContext context)
decode
in class UIComponent
public void encodeAll(FacesContext context) throws IOException
encodeAll
in class UIComponent
IOException
public void encodeBegin(FacesContext context) throws IOException
encodeBegin
in class UIComponent
IOException
public void encodeChildren(FacesContext context) throws IOException
encodeChildren
in class UIComponent
IOException
public void encodeEnd(FacesContext context) throws IOException
encodeEnd
in class UIComponent
IOException
public UIComponent findComponent(String expr)
findComponent
in class UIComponent
public Map<String,Object> getAttributes()
getAttributes
in class UIComponent
public int getChildCount()
getChildCount
in class UIComponent
public List<UIComponent> getChildren()
getChildren
in class UIComponent
public String getClientId()
getClientId
in class UIComponent
public String getClientId(FacesContext context)
getClientId
in class UIComponent
public String getContainerClientId(FacesContext ctx)
getContainerClientId
in class UIComponent
public UIComponent getFacet(String name)
getFacet
in class UIComponent
public int getFacetCount()
getFacetCount
in class UIComponent
public Map<String,UIComponent> getFacets()
getFacets
in class UIComponent
public Iterator<UIComponent> getFacetsAndChildren()
getFacetsAndChildren
in class UIComponent
public String getFamily()
getFamily
in class UIComponent
public String getId()
getId
in class UIComponent
public List<SystemEventListener> getListenersForEventClass(Class<? extends SystemEvent> eventClass)
getListenersForEventClass
in interface SystemEventListenerHolder
getListenersForEventClass
in class UIComponent
public UIComponent getNamingContainer()
getNamingContainer
in class UIComponent
public UIComponent getParent()
getParent
in class UIComponent
public String getRendererType()
getRendererType
in class UIComponent
public boolean getRendersChildren()
getRendersChildren
in class UIComponent
public Map<String,String> getResourceBundleMap()
getResourceBundleMap
in class UIComponent
public ValueBinding getValueBinding(String name)
getValueBinding
in class UIComponent
public javax.el.ValueExpression getValueExpression(String name)
getValueExpression
in class UIComponent
public boolean initialStateMarked()
initialStateMarked
in interface PartialStateHolder
initialStateMarked
in class UIComponent
public boolean invokeOnComponent(FacesContext context, String clientId, ContextCallback callback) throws FacesException
invokeOnComponent
in class UIComponent
FacesException
public boolean isInView()
isInView
in class UIComponent
public boolean isRendered()
isRendered
in class UIComponent
public boolean isTransient()
isTransient
in interface StateHolder
public void markInitialState()
markInitialState
in interface PartialStateHolder
markInitialState
in class UIComponent
public void processDecodes(FacesContext context)
processDecodes
in class UIComponent
public void processEvent(ComponentSystemEvent event) throws AbortProcessingException
processEvent
in interface ComponentSystemEventListener
processEvent
in class UIComponent
AbortProcessingException
public void processRestoreState(FacesContext context, Object state)
processRestoreState
in class UIComponent
public Object processSaveState(FacesContext context)
processSaveState
in class UIComponent
public void processUpdates(FacesContext context)
processUpdates
in class UIComponent
public void processValidators(FacesContext context)
processValidators
in class UIComponent
public void queueEvent(FacesEvent event)
queueEvent
in class UIComponent
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
public Object saveState(FacesContext context)
saveState
in interface StateHolder
public void setId(String id)
setId
in class UIComponent
public void setInView(boolean isInView)
setInView
in class UIComponent
public void setParent(UIComponent parent)
setParent
in class UIComponent
public void setRendered(boolean rendered)
setRendered
in class UIComponent
public void setRendererType(String rendererType)
setRendererType
in class UIComponent
public void setTransient(boolean newTransientValue)
setTransient
in interface StateHolder
public void setValueBinding(String name, ValueBinding binding)
setValueBinding
in class UIComponent
public void setValueExpression(String name, javax.el.ValueExpression expression)
setValueExpression
in class UIComponent
public void subscribeToEvent(Class<? extends SystemEvent> eventClass, ComponentSystemEventListener componentListener)
subscribeToEvent
in class UIComponent
public void unsubscribeFromEvent(Class<? extends SystemEvent> eventClass, ComponentSystemEventListener componentListener)
unsubscribeFromEvent
in class UIComponent
public boolean visitTree(VisitContext context, VisitCallback callback)
visitTree
in class UIComponent
protected FacesContext getFacesContext()
getFacesContext
in class UIComponent
protected void addFacesListener(FacesListener listener)
addFacesListener
in class UIComponent
protected FacesListener[] getFacesListeners(Class clazz)
getFacesListeners
in class UIComponent
protected Renderer getRenderer(FacesContext context)
getRenderer
in class UIComponent
protected void removeFacesListener(FacesListener listener)
removeFacesListener
in class UIComponent
public Map<String,Object> getPassThroughAttributes(boolean create)
getPassThroughAttributes
in class UIComponent
Copyright © 2020 The Apache Software Foundation. All rights reserved.