Skip navigation links
org.apache.myfaces.trinidad.component
Class UIXDecorateCollection
java.lang.Object
javax.faces.component.UIComponent
org.apache.myfaces.trinidad.component.UIXComponent
org.apache.myfaces.trinidad.component.UIXComponentBase
org.apache.myfaces.trinidad.component.UIXDecorateCollection
- All Implemented Interfaces:
- javax.faces.component.NamingContainer, javax.faces.component.StateHolder
-
public class UIXDecorateCollection
- extends UIXComponentBase
- implements javax.faces.component.NamingContainer
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. |
| Fields inherited from class javax.faces.component.UIComponent |
bindings |
| Fields inherited from interface javax.faces.component.NamingContainer |
SEPARATOR_CHAR |
| Constructor Summary |
|
UIXDecorateCollection()
Construct an instance of the UIXDecorateCollection. |
protected |
UIXDecorateCollection(java.lang.String rendererType)
Construct an instance of the UIXDecorateCollection. |
| Method Summary |
protected FacesBean.Type |
getBeanType()
|
java.lang.String |
getContainerClientId(javax.faces.context.FacesContext context)
Gets the client-id of this component, without any NamingContainers. |
java.lang.String |
getCurrencyString()
Gets the currency String for this decorate collection. |
java.lang.String |
getFamily()
|
boolean |
invokeOnComponent(javax.faces.context.FacesContext context, java.lang.String clientId, javax.faces.component.ContextCallback callback)
Override to calls the hooks for setting up and tearing down the context before the children are visited. |
void |
setCurrencyString(java.lang.String currency)
Sets the currency String for this decorate collection. |
| Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase |
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcast, broadcastToMethodBinding, broadcastToMethodExpression, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getComponentChangeFilters, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getParent, getProperty, getPropertyKey, getRenderedFacetsAndChildren, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, invokeOnChildrenComponents, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeAttributeChangeListener, removeComponentChangeFilter, 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, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setUpEncodingContext, setupVisitingContext, tearDownEncodingContext, tearDownVisitingContext, visitTree, visitTree |
| Methods inherited from class javax.faces.component.UIComponent |
encodeAll |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TYPE
public static final FacesBean.Type TYPE
COMPONENT_FAMILY
public static final java.lang.String COMPONENT_FAMILY
-
- See Also:
- Constant Field Values
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
-
- See Also:
- Constant Field Values
UIXDecorateCollection
public UIXDecorateCollection()
- Construct an instance of the UIXDecorateCollection.
UIXDecorateCollection
protected UIXDecorateCollection(java.lang.String rendererType)
- Construct an instance of the UIXDecorateCollection.
getCurrencyString
public java.lang.String getCurrencyString()
- Gets the currency String for this decorate collection.
-
- Returns:
- the current established currency
- See Also:
setCurrencyString(java.lang.String)
setCurrencyString
public void setCurrencyString(java.lang.String currency)
- Sets the currency String for this decorate collection. The decorator renders aggregated components that are not in the component tree. If any of the aggregated component is a naming container (for e.g. menubar), this method allows the currency to be set to that naming container so that it can successfully decode its children.
-
- Parameters:
currency - the currency to be established
- See Also:
getCurrencyString()
getContainerClientId
public final java.lang.String getContainerClientId(javax.faces.context.FacesContext context)
- Gets the client-id of this component, without any NamingContainers. This id changes depending on the currency Object. Because this implementation uses currency strings, the local client ID is not stable for very long. Its lifetime is the same as that of a currency string.
-
- Overrides:
getContainerClientId in class javax.faces.component.UIComponent
-
- Returns:
- the local clientId
- See Also:
getCurrencyString()
invokeOnComponent
public boolean invokeOnComponent(javax.faces.context.FacesContext context,
java.lang.String clientId,
javax.faces.component.ContextCallback callback)
throws javax.faces.FacesException
- Description copied from class:
UIXComponentBase
- Override to calls the hooks for setting up and tearing down the context before the children are visited.
-
- Overrides:
invokeOnComponent in class UIXComponentBase
-
- Throws:
javax.faces.FacesException
- See Also:
UIXComponent.setupVisitingContext(javax.faces.context.FacesContext), UIXComponent.tearDownVisitingContext(javax.faces.context.FacesContext)
getFamily
public java.lang.String getFamily()
-
- Specified by:
getFamily in class UIXComponentBase
getBeanType
protected FacesBean.Type getBeanType()
-
- Overrides:
getBeanType in class UIXComponentBase
Skip navigation links
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.