public abstract class ColumnBase extends javax.faces.component.UIColumn implements IColumn
Component that represents a column in an ace:dataTable.
For more information, see the Column Wiki Documentation.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ColumnBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
ColumnBase() |
| Modifier and Type | Method and Description |
|---|---|
int |
getColspan()
Return the value of the
colspan property. |
java.lang.String |
getFamily() |
java.lang.Object |
getFilterBy()
Return the value of the
filterBy property. |
java.lang.String |
getFilterMatchMode()
Return the value of the
filterMatchMode property. |
java.lang.Object |
getFilterOptions()
Return the value of the
filterOptions property. |
java.lang.String |
getFilterStyle()
Return the value of the
filterStyle property. |
java.lang.String |
getFilterStyleClass()
Return the value of the
filterStyleClass property. |
java.lang.String |
getFilterValue()
Return the value of the
filterValue property. |
java.lang.String |
getFooterText()
Return the value of the
footerText property. |
java.lang.Object |
getGroupBy()
Return the value of the
groupBy property. |
java.lang.String |
getHeaderText()
Return the value of the
headerText property. |
java.lang.String |
getLazyColumnKey()
Return the value of the
lazyColumnKey property. |
java.lang.Integer |
getPinningOrder()
Return the value of the
pinningOrder property. |
int |
getRowspan()
Return the value of the
rowspan property. |
java.lang.Object |
getSortBy()
Return the value of the
sortBy property. |
java.util.Comparator |
getSortFunction()
Return the value of the
sortFunction property. |
java.lang.Integer |
getSortPriority()
Return the value of the
sortPriority property. |
java.lang.String |
getStyle()
Return the value of the
style property. |
java.lang.String |
getStyleClass()
Return the value of the
styleClass property. |
boolean |
isConfigurable()
Return the value of the
configurable property. |
protected boolean |
isPropertySet(java.lang.String finder) |
boolean |
isReorderable()
Return the value of the
reorderable property. |
java.lang.Boolean |
isSortAscending()
Return the value of the
sortAscending property. |
boolean |
isStacked()
Return the value of the
stacked property. |
void |
setColspan(int colspan)
Set the value of the
colspan property. |
void |
setConfigurable(boolean configurable)
Set the value of the
configurable property. |
void |
setFilterBy(java.lang.Object filterBy)
Set the value of the
filterBy property. |
void |
setFilterMatchMode(java.lang.String filterMatchMode)
Set the value of the
filterMatchMode property. |
void |
setFilterOptions(java.lang.Object filterOptions)
Set the value of the
filterOptions property. |
void |
setFilterStyle(java.lang.String filterStyle)
Set the value of the
filterStyle property. |
void |
setFilterStyleClass(java.lang.String filterStyleClass)
Set the value of the
filterStyleClass property. |
void |
setFilterValue(java.lang.String filterValue)
Set the value of the
filterValue property. |
void |
setFooterText(java.lang.String footerText)
Set the value of the
footerText property. |
void |
setGroupBy(java.lang.Object groupBy)
Set the value of the
groupBy property. |
void |
setHeaderText(java.lang.String headerText)
Set the value of the
headerText property. |
void |
setLazyColumnKey(java.lang.String lazyColumnKey)
Set the value of the
lazyColumnKey property. |
void |
setPinningOrder(java.lang.Integer pinningOrder)
Set the value of the
pinningOrder property. |
void |
setReorderable(boolean reorderable)
Set the value of the
reorderable property. |
void |
setRowspan(int rowspan)
Set the value of the
rowspan property. |
void |
setSortAscending(java.lang.Boolean sortAscending)
Set the value of the
sortAscending property. |
void |
setSortBy(java.lang.Object sortBy)
Set the value of the
sortBy property. |
void |
setSortFunction(java.util.Comparator sortFunction)
Set the value of the
sortFunction property. |
void |
setSortPriority(java.lang.Integer sortPriority)
Set the value of the
sortPriority property. |
void |
setStacked(boolean stacked)
Set the value of the
stacked property. |
void |
setStyle(java.lang.String style)
Set the value of the
style property. |
void |
setStyleClass(java.lang.String styleClass)
Set the value of the
styleClass property. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
getFooter, getHeader, setFooter, setHeaderaddClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreepublic static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIColumnpublic void setColspan(int colspan)
Set the value of the colspan property.
Contents: Defines the number of columns the rendered cell spans. Only significant to Column components within a column group.
setColspan in interface IColumnpublic int getColspan()
Return the value of the colspan property.
Contents: Defines the number of columns the rendered cell spans. Only significant to Column components within a column group. Default = '1'.
getColspan in interface IColumnpublic void setConfigurable(boolean configurable)
Set the value of the configurable property.
Contents: When disabled, this column is excluded from the list of columns available for configuration on a TableConfigPanel component.
setConfigurable in interface IColumnpublic boolean isConfigurable()
Return the value of the configurable property.
Contents: When disabled, this column is excluded from the list of columns available for configuration on a TableConfigPanel component. Default = 'true'.
isConfigurable in interface IColumnpublic void setFilterBy(java.lang.Object filterBy)
Set the value of the filterBy property.
Contents: Defines a ValueExpression of the value of this row to use when filtering this column. Setting this attribute, or the "value" attribute for a column enables filtering.
setFilterBy in interface IColumnpublic java.lang.Object getFilterBy()
Return the value of the filterBy property.
Contents: Defines a ValueExpression of the value of this row to use when filtering this column. Setting this attribute, or the "value" attribute for a column enables filtering.
getFilterBy in interface IColumnpublic void setFilterMatchMode(java.lang.String filterMatchMode)
Set the value of the filterMatchMode property.
Contents: Defines the method of filter comparison used, default is "startsWith". Types available include: "contains", "exact", "startsWith" and "endsWith".
setFilterMatchMode in interface IColumnpublic java.lang.String getFilterMatchMode()
Return the value of the filterMatchMode property.
Contents: Defines the method of filter comparison used, default is "startsWith". Types available include: "contains", "exact", "startsWith" and "endsWith". Default = 'startsWith'.
getFilterMatchMode in interface IColumnpublic void setFilterOptions(java.lang.Object filterOptions)
Set the value of the filterOptions property.
Contents: Defines a collection of SelectItem objects for use as filter choices.
setFilterOptions in interface IColumnpublic java.lang.Object getFilterOptions()
Return the value of the filterOptions property.
Contents: Defines a collection of SelectItem objects for use as filter choices.
getFilterOptions in interface IColumnpublic void setFilterStyle(java.lang.String filterStyle)
Set the value of the filterStyle property.
Contents: Defines additional CSS rules to be applied to the filter text input.
setFilterStyle in interface IColumnpublic java.lang.String getFilterStyle()
Return the value of the filterStyle property.
Contents: Defines additional CSS rules to be applied to the filter text input.
getFilterStyle in interface IColumnpublic void setFilterStyleClass(java.lang.String filterStyleClass)
Set the value of the filterStyleClass property.
Contents: Defines supplementary CSS classes to add to those already applied on this component.
setFilterStyleClass in interface IColumnpublic java.lang.String getFilterStyleClass()
Return the value of the filterStyleClass property.
Contents: Defines supplementary CSS classes to add to those already applied on this component.
getFilterStyleClass in interface IColumnpublic void setFilterValue(java.lang.String filterValue)
Set the value of the filterValue property.
Contents: Defines the string input filtering this column, coming from the client, or from the application via a value binding.
setFilterValue in interface IColumnpublic java.lang.String getFilterValue()
Return the value of the filterValue property.
Contents: Defines the string input filtering this column, coming from the client, or from the application via a value binding.
getFilterValue in interface IColumnpublic void setFooterText(java.lang.String footerText)
Set the value of the footerText property.
Contents: Defines a plain text footer with less effort than adding a facet.
setFooterText in interface IColumnpublic java.lang.String getFooterText()
Return the value of the footerText property.
Contents: Defines a plain text footer with less effort than adding a facet.
getFooterText in interface IColumnpublic void setGroupBy(java.lang.Object groupBy)
Set the value of the groupBy property.
Contents: Defines a value expression representing the value of this column per row when determining if the values of this column in sibling rows are equal. If they are equal, span the rows witha single column cell.
setGroupBy in interface IColumnpublic java.lang.Object getGroupBy()
Return the value of the groupBy property.
Contents: Defines a value expression representing the value of this column per row when determining if the values of this column in sibling rows are equal. If they are equal, span the rows witha single column cell.
getGroupBy in interface IColumnpublic void setHeaderText(java.lang.String headerText)
Set the value of the headerText property.
Contents: Defines a plain text header with less effort than adding a facet. Note that even when using a header facet this property should also be set as a short-form label for the column that will be used within the ace:tableConfigPanel.
setHeaderText in interface IColumnpublic java.lang.String getHeaderText()
Return the value of the headerText property.
Contents: Defines a plain text header with less effort than adding a facet. Note that even when using a header facet this property should also be set as a short-form label for the column that will be used within the ace:tableConfigPanel.
getHeaderText in interface IColumnpublic void setLazyColumnKey(java.lang.String lazyColumnKey)
Set the value of the lazyColumnKey property.
Contents: Specifies a string that will be used to identify this column when working in lazy mode. This string will be passed as a key of the filters map and will be returned from SortCriteria.getPropertyName() in the LazyDataModel.load() method. If this attribute is defined, then this value will be used instead of the value obtained by parsing the EL expressions of the sortyBy and filterBy attributes. This attribute is useful when using complex and/or dynamic EL expressions that can't be parsed nor resolved at render time, such as when using c:forEach to define the columns.
setLazyColumnKey in interface IColumnpublic java.lang.String getLazyColumnKey()
Return the value of the lazyColumnKey property.
Contents: Specifies a string that will be used to identify this column when working in lazy mode. This string will be passed as a key of the filters map and will be returned from SortCriteria.getPropertyName() in the LazyDataModel.load() method. If this attribute is defined, then this value will be used instead of the value obtained by parsing the EL expressions of the sortyBy and filterBy attributes. This attribute is useful when using complex and/or dynamic EL expressions that can't be parsed nor resolved at render time, such as when using c:forEach to define the columns.
getLazyColumnKey in interface IColumnpublic void setPinningOrder(java.lang.Integer pinningOrder)
Set the value of the pinningOrder property.
Contents: Define the position of this column in the pinned column region when column pinning and scrolling are enabled at the table level. Having a value in this field indicates a column is pinned. 1 indexed.
setPinningOrder in interface IColumnpublic java.lang.Integer getPinningOrder()
Return the value of the pinningOrder property.
Contents: Define the position of this column in the pinned column region when column pinning and scrolling are enabled at the table level. Having a value in this field indicates a column is pinned. 1 indexed.
getPinningOrder in interface IColumnpublic void setReorderable(boolean reorderable)
Set the value of the reorderable property.
Contents: Enables per-column control of column ordering when the attribute ("reorderableColumns") is true at the table level.
setReorderable in interface IColumnpublic boolean isReorderable()
Return the value of the reorderable property.
Contents: Enables per-column control of column ordering when the attribute ("reorderableColumns") is true at the table level. Default = 'true'.
isReorderable in interface IColumnpublic void setRowspan(int rowspan)
Set the value of the rowspan property.
Contents: Defines the number of rows the rendered cell spans. Only significant to Column components within a column group.
setRowspan in interface IColumnpublic int getRowspan()
Return the value of the rowspan property.
Contents: Defines the number of rows the rendered cell spans. Only significant to Column components within a column group. Default = '1'.
getRowspan in interface IColumnpublic void setSortAscending(java.lang.Boolean sortAscending)
Set the value of the sortAscending property.
Contents: Defines the direction of column values during sorting. The column directions incoming from the client during a sort request overwrite any set by the application. Processing the sorted columns is done by the component whenever a client edits a sort control or the application calls table.applySorting().
setSortAscending in interface IColumnpublic java.lang.Boolean isSortAscending()
Return the value of the sortAscending property.
Contents: Defines the direction of column values during sorting. The column directions incoming from the client during a sort request overwrite any set by the application. Processing the sorted columns is done by the component whenever a client edits a sort control or the application calls table.applySorting(). Default = 'false'.
isSortAscending in interface IColumnpublic void setSortBy(java.lang.Object sortBy)
Set the value of the sortBy property.
Contents: Defines a value expression representing the value of this column per row when sorting. Setting this attribute, or the "value" attribute for a column enables sorting.
public java.lang.Object getSortBy()
Return the value of the sortBy property.
Contents: Defines a value expression representing the value of this column per row when sorting. Setting this attribute, or the "value" attribute for a column enables sorting.
public void setSortFunction(java.util.Comparator sortFunction)
Set the value of the sortFunction property.
Contents: Defines an alternate method of sorting. Sort this column using a Comparator
setSortFunction in interface IColumnpublic java.util.Comparator getSortFunction()
Return the value of the sortFunction property.
Contents: Defines an alternate method of sorting. Sort this column using a Comparator
getSortFunction in interface IColumnpublic void setSortPriority(java.lang.Integer sortPriority)
Set the value of the sortPriority property.
Contents: Defines the priority of a column during sorting. The column priorities incoming from the client during a sort request overwrite any set by the application. Processing the sorted columns is done by the component whenever a client edits a sort control or the application calls table.applySorting().
setSortPriority in interface IColumnpublic java.lang.Integer getSortPriority()
Return the value of the sortPriority property.
Contents: Defines the priority of a column during sorting. The column priorities incoming from the client during a sort request overwrite any set by the application. Processing the sorted columns is done by the component whenever a client edits a sort control or the application calls table.applySorting().
getSortPriority in interface IColumnpublic void setStacked(boolean stacked)
Set the value of the stacked property.
Contents: When enabled, this column is rendered underneath the previous column.
setStacked in interface IColumnpublic boolean isStacked()
Return the value of the stacked property.
Contents: When enabled, this column is rendered underneath the previous column.
public void setStyle(java.lang.String style)
Set the value of the style property.
Contents: Custom inline CSS styles to use for this component. These styles are generally applied to the root DOM element of the component. This is intended for per-component basic style customizations. Note that due to browser CSS precedence rules, CSS rendered on a DOM element will take precedence over the external stylesheets used to provide the ThemeRoller theme on this component. If the CSS properties applied with this attribute do not affect the DOM element you want to style, you may need to create a custom theme styleClass for the theme CSS class that targets the particular DOM elements you wish to customize.
public java.lang.String getStyle()
Return the value of the style property.
Contents: Custom inline CSS styles to use for this component. These styles are generally applied to the root DOM element of the component. This is intended for per-component basic style customizations. Note that due to browser CSS precedence rules, CSS rendered on a DOM element will take precedence over the external stylesheets used to provide the ThemeRoller theme on this component. If the CSS properties applied with this attribute do not affect the DOM element you want to style, you may need to create a custom theme styleClass for the theme CSS class that targets the particular DOM elements you wish to customize.
public void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property.
Contents: Custom CSS style class(es) to use for this component. These style classes can be defined in your page or in a theme CSS file.
setStyleClass in interface IColumnpublic java.lang.String getStyleClass()
Return the value of the styleClass property.
Contents: Custom CSS style class(es) to use for this component. These style classes can be defined in your page or in a theme CSS file.
getStyleClass in interface IColumnprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIComponentCopyright 2014 ICEsoft Technologies Canada Corp., All Rights Reserved.