org.apache.myfaces.custom.column
Class AbstractHtmlSimpleColumn

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIColumn
              extended by org.apache.myfaces.custom.column.AbstractHtmlSimpleColumn
All Implemented Interfaces:
EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, HtmlColumn

public abstract class AbstractHtmlSimpleColumn
extends javax.faces.component.UIColumn
implements HtmlColumn, javax.faces.component.behavior.ClientBehaviorHolder

A tag that extend h:column to provide HTML passthrough attributes. Tag t:column can be used instead of h:column in a t:datatable. It provides HTML passthrough attributes for header (th), footer (td) and row cells (td). Unless otherwise specified, all attributes accept static values or EL expressions.

Since:
1.1.7
Version:
$Revision: 691856 $ $Date: 2008-09-03 21:40:30 -0500 (miƩ, 03 sep 2008) $
Author:
Mathias Broekelmann (latest modification by $Author: lu4242 $)

Field Summary
static String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIColumn
COMPONENT_FAMILY
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
Constructor Summary
AbstractHtmlSimpleColumn()
           
 
Method Summary
abstract  Object getGroupByValue()
          Optional - Allows you configure where to get the value to check for the group change condition.
abstract  String getSortPropertyName()
          This attribute tells row object's property by which sorting will be performed on this column
abstract  boolean isDefaultSorted()
          This attribute tells the datatable to make this column the default sorted, when sortable=true
abstract  boolean isGroupBy()
          This attribute tells the datatable to group by data in this column
 boolean isGroupByValueSet()
           
abstract  boolean isSortable()
          This attribute makes this column automaticaly sortable by a row object's property
 
Methods inherited from class javax.faces.component.UIColumn
getFamily, getFooter, getHeader, getId, setFooter, setHeader
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
 
Methods inherited from class javax.faces.component.UIComponent
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.myfaces.custom.column.HtmlColumn
getColspan, getColumnId, getDir, getFootercolspan, getFooterdir, getFooterlang, getFooteronclick, getFooterondblclick, getFooteronkeydown, getFooteronkeypress, getFooteronkeyup, getFooteronmousedown, getFooteronmousemove, getFooteronmouseout, getFooteronmouseover, getFooteronmouseup, getFooterstyle, getFooterstyleClass, getFootertitle, getHeadercolspan, getHeaderdir, getHeaderlang, getHeaderonclick, getHeaderondblclick, getHeaderonkeydown, getHeaderonkeypress, getHeaderonkeyup, getHeaderonmousedown, getHeaderonmousemove, getHeaderonmouseout, getHeaderonmouseover, getHeaderonmouseup, getHeaderstyle, getHeaderstyleClass, getHeadertitle, getLang, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getStyle, getStyleClass, getTitle, getWidth, setColspan, setColumnId, setDir, setFootercolspan, setFooterdir, setFooterlang, setFooteronclick, setFooterondblclick, setFooteronkeydown, setFooteronkeypress, setFooteronkeyup, setFooteronmousedown, setFooteronmousemove, setFooteronmouseout, setFooteronmouseover, setFooteronmouseup, setFooterstyle, setFooterstyleClass, setFootertitle, setHeadercolspan, setHeaderdir, setHeaderlang, setHeaderonclick, setHeaderondblclick, setHeaderonkeydown, setHeaderonkeypress, setHeaderonkeyup, setHeaderonmousedown, setHeaderonmousemove, setHeaderonmouseout, setHeaderonmouseover, setHeaderonmouseup, setHeaderstyle, setHeaderstyleClass, setHeadertitle, setLang, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setStyle, setStyleClass, setTitle, setWidth
 
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors, getDefaultEventName, getEventNames
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values
Constructor Detail

AbstractHtmlSimpleColumn

public AbstractHtmlSimpleColumn()
Method Detail

isGroupByValueSet

public boolean isGroupByValueSet()

isGroupBy

public abstract boolean isGroupBy()
This attribute tells the datatable to group by data in this column


getGroupByValue

public abstract Object getGroupByValue()
Optional - Allows you configure where to get the value to check for the group change condition. Default: all children of the column cell will be checked


isDefaultSorted

public abstract boolean isDefaultSorted()
This attribute tells the datatable to make this column the default sorted, when sortable=true


isSortable

public abstract boolean isSortable()
This attribute makes this column automaticaly sortable by a row object's property


getSortPropertyName

public abstract String getSortPropertyName()
This attribute tells row object's property by which sorting will be performed on this column



Copyright © 2012 The Apache Software Foundation. All Rights Reserved.