org.apache.myfaces.trinidad.component
Class UIXShowOne
java.lang.Object
javax.faces.component.UIComponent
org.apache.myfaces.trinidad.component.UIXComponent
org.apache.myfaces.trinidad.component.UIXComponentBase
org.apache.myfaces.trinidad.component.UIXShowOne
- All Implemented Interfaces:
- StateHolder
- Direct Known Subclasses:
- CorePanelChoice, CorePanelRadio, CorePanelTabbed
public class UIXShowOne
- extends UIXComponentBase
showOne is the base abstraction for components that contains
a group of showDetails, but displays one of them.
Events:
Type |
Phases |
Description |
org.apache.myfaces.trinidad.event.AttributeChangeEvent |
Invoke Application Apply Request Values |
Event delivered to describe an attribute change. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing. |
Constructor Summary |
|
UIXShowOne()
Construct an instance of the UIXShowOne. |
protected |
UIXShowOne(String rendererType)
Construct an instance of the UIXShowOne. |
Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase |
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addFacesListener, broadcast, broadcastToMethodBinding, broadcastToMethodExpression, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, invokeOnChildrenComponents, invokeOnComponent, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeAttributeChangeListener, removeFacesListener, restoreState, satisfiesPartialTrigger, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, setValueExpression, toString, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl |
Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponent |
addPartialTarget, clearCachedClientIds, clearCachedClientIds, encodeFlattenedChild, encodeFlattenedChildren, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setupChildrenVisitingContext, setupEncodingContext, setUpEncodingContext, setupVisitingContext, tearDownChildrenVisitingContext, tearDownEncodingContext, tearDownVisitingContext, visitChildren, visitTree |
TYPE
public static final FacesBean.Type TYPE
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
UIXShowOne
public UIXShowOne()
- Construct an instance of the UIXShowOne.
UIXShowOne
protected UIXShowOne(String rendererType)
- Construct an instance of the UIXShowOne.
queueEvent
public void queueEvent(FacesEvent e)
- Overrides:
queueEvent
in class UIXComponentBase
visitTree
public boolean visitTree(VisitContext visitContext,
VisitCallback callback)
- Description copied from class:
UIXComponent
Perform a tree visit starting at
this node in the tree.
UIXComponent.visitTree() implementations do not invoke the
VisitCallback
directly, but instead call
VisitContext.invokeVisitCallback()
to invoke the
callback. This allows VisitContext
implementations
to provide optimized tree traversals, for example by only
calling the VisitCallback
for a subset of components.
- Overrides:
visitTree
in class UIXComponent
- Parameters:
visitContext
- the VisitContext
for this visitcallback
- the VisitCallback
instance
whose visit
method will be called
for each node visited.
- Returns:
- component implementations may return
true
to indicate that the tree visit is complete (eg. all components
that need to be visited have been visited). This results in
the tree visit being short-circuited such that no more components
are visited. - See Also:
VisitContext.invokeVisitCallback()
isChildSelected
protected boolean isChildSelected(UIXShowDetail component)
getFamily
public String getFamily()
- Specified by:
getFamily
in class UIXComponentBase
getBeanType
protected FacesBean.Type getBeanType()
- Overrides:
getBeanType
in class UIXComponentBase
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.