|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIData
org.apache.myfaces.custom.crosstable.UIColumns
org.apache.myfaces.custom.crosstable.AbstractHtmlColumns
public abstract class AbstractHtmlColumns
The tag allows dynamic columns in a datatable. The UIColumns component is used below a t:datatable to create a dynamic count of columns. It is used like a UIData component which iterates through a datamodel to create the columns. Unless otherwise specified, all attributes accept static values or EL expressions.
| Field Summary | |
|---|---|
static String |
COMPONENT_TYPE
|
| Fields inherited from class javax.faces.component.UIData |
|---|
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 |
| Fields inherited from interface javax.faces.component.NamingContainer |
|---|
SEPARATOR_CHAR |
| Constructor Summary | |
|---|---|
AbstractHtmlColumns()
|
|
| Method Summary | |
|---|---|
String |
getColspan()
This attribute specifies the colspan attribute for the cell |
String |
getColumnId()
The columnId which will be used as id for the column header. |
String |
getFootercolspan()
|
abstract Object |
getGroupByValue()
Optional - Allows you configure where to get the value to check for the group change condition. |
String |
getHeadercolspan()
|
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 |
abstract boolean |
isSortable()
This attribute makes this column automaticaly sortable by a row object's property |
void |
setColspan(String colspan)
|
void |
setColumnId(String columnId)
|
void |
setFootercolspan(String footercolspan)
|
void |
setHeadercolspan(String headercolspan)
|
| Methods inherited from class org.apache.myfaces.custom.crosstable.UIColumns |
|---|
createDataModel, encodeTableBegin, encodeTableEnd, getClientId, getDataModel, getRowCount, getRowData, getRowIndex, hasErrorMessages, isRowAvailable, processDecodes, processUpdates, processValidators, restoreDescendantComponentStates, saveDescendantComponentStates, setDataModel, setRowIndex, setValue, setValueBinding |
| Methods inherited from class javax.faces.component.UIData |
|---|
broadcast, createUniqueId, encodeBegin, encodeEnd, getContainerClientId, getFamily, getFirst, getFooter, getHeader, getRows, getValue, getVar, invokeOnComponent, queueEvent, setFirst, setFooter, setHeader, setRows, setValueExpression, setVar, visitTree |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addClientBehavior, addFacesListener, clearInitialState, decode, encodeAll, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEvent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder |
|---|
addClientBehavior, getClientBehaviors, getDefaultEventName, getEventNames |
| Field Detail |
|---|
public static final String COMPONENT_TYPE
| Constructor Detail |
|---|
public AbstractHtmlColumns()
| Method Detail |
|---|
public abstract boolean isGroupBy()
public abstract Object getGroupByValue()
public abstract boolean isDefaultSorted()
public abstract boolean isSortable()
public abstract String getSortPropertyName()
public String getColspan()
HtmlColumn
getColspan in interface HtmlColumnpublic void setColspan(String colspan)
setColspan in interface HtmlColumnpublic String getHeadercolspan()
getHeadercolspan in interface HtmlColumnpublic void setHeadercolspan(String headercolspan)
setHeadercolspan in interface HtmlColumnpublic String getFootercolspan()
getFootercolspan in interface HtmlColumnpublic void setFootercolspan(String footercolspan)
setFootercolspan in interface HtmlColumnpublic String getColumnId()
HtmlColumn
getColumnId in interface HtmlColumnpublic void setColumnId(String columnId)
setColumnId in interface HtmlColumn
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||