org.apache.myfaces.trinidad.component
Class UIXGroup
java.lang.Object
javax.faces.component.UIComponent
org.apache.myfaces.trinidad.component.UIXComponent
org.apache.myfaces.trinidad.component.UIXComponentBase
org.apache.myfaces.trinidad.component.UIXGroup
- All Implemented Interfaces:
- javax.faces.component.StateHolder
public class UIXGroup
- extends UIXComponentBase
The group component is an invisible control that aggregates semantically-related children; the group itself has no associated client representation (visual or API).
Some parent components may have special representation for groups like adding separators around the group but this is a special case and is not always rendered this way.
In most cases, only the children of the group will be rendered directly to the page.
There will be no layout applied to the children so the natural layout behavior of the underlying HTML elements will apply.
If you require a more predictable layout, you should use a layout component such as panelGroupLayout.
Events:
Type |
Phases |
Description |
org.apache.myfaces.trinidad.event.AttributeChangeEvent |
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 |
Constructor Summary |
|
UIXGroup()
Construct an instance of the UIXGroup. |
protected |
UIXGroup(java.lang.String rendererType)
Construct an instance of the UIXGroup. |
Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase |
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addFacesListener, broadcast, broadcastToMethodBinding, broadcastToMethodExpression, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeAll, encodeBegin, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getValueBinding, getValueExpression, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeAttributeChangeListener, removeFacesListener, restoreState, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, setValueExpression, toString, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl |
Methods inherited from class javax.faces.component.UIComponent |
getContainerClientId, invokeOnComponent |
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
UIXGroup
public UIXGroup()
- Construct an instance of the UIXGroup.
UIXGroup
protected UIXGroup(java.lang.String rendererType)
- Construct an instance of the UIXGroup.
getRendersChildren
public boolean getRendersChildren()
- Overridden to return true.
- Overrides:
getRendersChildren
in class UIXComponentBase
- Returns:
- true because the children are rendered by this component
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext context)
throws java.io.IOException
- Renders the children in their raw form.
There is no Renderer for this component because it has no
visual representation or any sort of layout for its children.
- Overrides:
encodeChildren
in class UIXComponentBase
- Parameters:
context
- the FacesContext
- Throws:
java.io.IOException
- if there is an error encoding the children
getFamily
public java.lang.String getFamily()
- Specified by:
getFamily
in class UIXComponentBase
getBeanType
protected FacesBean.Type getBeanType()
- Overrides:
getBeanType
in class UIXComponentBase
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.