org.apache.myfaces.trinidad.component
Class UIXColumn

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by org.apache.myfaces.trinidad.component.UIXComponent
          extended by org.apache.myfaces.trinidad.component.UIXComponentBase
              extended by org.apache.myfaces.trinidad.component.UIXColumn
All Implemented Interfaces:
StateHolder
Direct Known Subclasses:
CoreColumn

public class UIXColumn
extends UIXComponentBase

This is base abstraction for column.

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.


Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
static String FOOTER_FACET
           
static String HEADER_FACET
           
static PropertyKey SORT_PROPERTY_KEY
           
static FacesBean.Type TYPE
           
 
Fields inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
  UIXColumn()
          Construct an instance of the UIXColumn.
protected UIXColumn(String rendererType)
          Construct an instance of the UIXColumn.
 
Method Summary
protected  FacesBean.Type getBeanType()
           
 String getFamily()
           
 UIComponent getFooter()
          the node to render as this column's footer.
 UIComponent getHeader()
          the node to use to render this column's header.
 String getSortProperty()
          Gets The property that is displayed by this Column.
 void processDecodes(FacesContext context)
          Does not process the facets of this column.
 void processUpdates(FacesContext context)
          Does not process the facets of this column.
 void processValidators(FacesContext context)
          Does not process the facets of this column.
 void setFooter(UIComponent footerFacet)
          the node to render as this column's footer.
 void setHeader(UIComponent headerFacet)
          the node to use to render this column's header.
 void setSortProperty(String sortProperty)
          Sets The property that is displayed by this Column.
 
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, processRestoreState, processSaveState, queueEvent, 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, visitTree
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final FacesBean.Type TYPE

SORT_PROPERTY_KEY

public static final PropertyKey SORT_PROPERTY_KEY

HEADER_FACET

public static final String HEADER_FACET
See Also:
Constant Field Values

FOOTER_FACET

public static final String FOOTER_FACET
See Also:
Constant Field Values

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
Constructor Detail

UIXColumn

public UIXColumn()
Construct an instance of the UIXColumn.


UIXColumn

protected UIXColumn(String rendererType)
Construct an instance of the UIXColumn.

Method Detail

processDecodes

public void processDecodes(FacesContext context)
Does not process the facets of this column. Only this column and its children are processed.

Overrides:
processDecodes in class UIXComponentBase

processValidators

public void processValidators(FacesContext context)
Does not process the facets of this column. Only this column and its children are processed.

Overrides:
processValidators in class UIXComponentBase

processUpdates

public void processUpdates(FacesContext context)
Does not process the facets of this column. Only this column and its children are processed.

Overrides:
processUpdates in class UIXComponentBase

getHeader

public final UIComponent getHeader()
the node to use to render this column's header.


setHeader

public final void setHeader(UIComponent headerFacet)
the node to use to render this column's header.


getFooter

public final UIComponent getFooter()
the node to render as this column's footer.


setFooter

public final void setFooter(UIComponent footerFacet)
the node to render as this column's footer.


getSortProperty

public final String getSortProperty()
Gets The property that is displayed by this Column. This is the property that the framework might use to (for example) sort the Table's data.

Returns:
the new sortProperty value

setSortProperty

public final void setSortProperty(String sortProperty)
Sets The property that is displayed by this Column. This is the property that the framework might use to (for example) sort the Table's data.

Parameters:
sortProperty - the new sortProperty value

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.