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:
javax.faces.component.StateHolder, HtmlColumn
Direct Known Subclasses:
HtmlSimpleColumn

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

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 (Wed, 03 Sep 2008) $
Author:
Mathias Broekelmann (latest modification by $Author: lu4242 $)

Field Summary
static java.lang.String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIColumn
COMPONENT_FAMILY
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
AbstractHtmlSimpleColumn()
           
 
Method Summary
abstract  java.lang.Object getGroupByValue()
          Optional - Allows you configure where to get the value to check for the group change condition.
abstract  java.lang.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
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
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
 

Field Detail

COMPONENT_TYPE

public static final java.lang.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 java.lang.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 java.lang.String getSortPropertyName()
This attribute tells row object's property by which sorting will be performed on this column



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