Package org.primefaces.component.columns
Class Columns
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- javax.faces.component.UIData
-
- org.primefaces.component.api.UIData
-
- org.primefaces.component.columns.ColumnsBase
-
- org.primefaces.component.columns.Columns
-
- All Implemented Interfaces:
EventListener
,javax.faces.component.NamingContainer
,javax.faces.component.PartialStateHolder
,javax.faces.component.StateHolder
,javax.faces.component.TransientStateHolder
,javax.faces.component.UniqueIdVendor
,javax.faces.event.ComponentSystemEventListener
,javax.faces.event.FacesListener
,javax.faces.event.SystemEventListenerHolder
,UIColumn
public class Columns extends ColumnsBase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.primefaces.component.columns.ColumnsBase
ColumnsBase.PropertyKeys
-
-
Field Summary
Fields Modifier and Type Field Description static String
COMPONENT_TYPE
-
Fields inherited from class org.primefaces.component.columns.ColumnsBase
COMPONENT_FAMILY
-
-
Constructor Summary
Constructors Constructor Description Columns()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CellEditor
getCellEditor()
String
getColumnIndexVar()
String
getColumnKey()
String
getColumnKey(javax.faces.component.UIComponent parent, String rowIndex)
SpecialUIColumn.getColumnKey()
method which must be used when we are inside e.g.List<DynamicColumn>
getDynamicColumns()
String
getHeaderText()
String
getSelectionMode()
boolean
isDynamic()
void
renderChildren(javax.faces.context.FacesContext context)
void
setColumnIndexVar(String _columnIndexVar)
void
setDynamicColumns(List<DynamicColumn> dynamicColumns)
-
Methods inherited from class org.primefaces.component.columns.ColumnsBase
getAriaHeaderText, getColspan, getDisplayPriority, getExportFooterValue, getExportFunction, getExportHeaderValue, getExportValue, getFamily, getField, getFilterBy, getFilterFunction, getFilterMatchMode, getFilterMaxLength, getFilterOptions, getFilterPosition, getFilterStyle, getFilterStyleClass, getFilterValue, getFooterText, getNullSortOrder, getResponsivePriority, getRowspan, getSortBy, getSortFunction, getSortOrder, getSortPriority, getStyle, getStyleClass, getWidth, isCaseSensitiveSort, isDraggable, isExportable, isFilterable, isGroupRow, isResizable, isSelectRow, isSortable, isToggleable, isVisible, setAriaHeaderText, setCaseSensitiveSort, setColspan, setDisplayPriority, setDraggable, setExportable, setExportFooterValue, setExportFunction, setExportHeaderValue, setExportValue, setField, setFilterable, setFilterBy, setFilterFunction, setFilterMatchMode, setFilterMaxLength, setFilterOptions, setFilterPosition, setFilterStyle, setFilterStyleClass, setFilterValue, setFooterText, setGroupRow, setHeaderText, setNullSortOrder, setResizable, setResponsivePriority, setRowspan, setSelectRow, setSortable, setSortBy, setSortFunction, setSortOrder, setSortPriority, setStyle, setStyleClass, setToggleable, setVisible, setWidth
-
Methods inherited from class org.primefaces.component.api.UIData
encodeBegin, getClientId, getContainerClientId, getDataModel, getIterableChildren, getRowIndex, getRowIndexVar, invokeOnComponent, isLazy, isNestedWithinIterator, isRowStatePreserved, markInitialState, preDecode, preEncode, preUpdate, preValidate, process, processChildren, processColumnFacets, processDecodes, processFacets, processPhase, processUpdates, processValidators, requiresColumns, restoreDescendantState, restoreDescendantState, restoreState, saveDescendantState, saveDescendantState, saveState, setDataModel, setId, setLazy, setRowIndex, setRowIndexVar, setRowModel, setRowStatePreserved, shouldProcessChild, shouldSkipChildren, shouldVisitChildren, visitColumnContent, visitColumnFacets, visitColumnGroup, visitColumnsAndColumnFacets, visitFacets, visitRows, visitTree
-
Methods inherited from class javax.faces.component.UIData
broadcast, createUniqueId, getFirst, getFooter, getHeader, getRowCount, getRowData, getRows, getValue, getVar, isRowAvailable, queueEvent, setFirst, setFooter, setHeader, setRows, setValue, setValueBinding, setValueExpression, setVar
-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEvent
-
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.primefaces.component.api.UIColumn
encodeAll, getChildren, getClientId, getClientId, getColumnKey, getContainerClientId, getFacet, getValueExpression, isRendered
-
-
-
-
Field Detail
-
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSelectionMode
public String getSelectionMode()
-
getCellEditor
public CellEditor getCellEditor()
-
isDynamic
public boolean isDynamic()
-
getColumnIndexVar
public String getColumnIndexVar()
-
setColumnIndexVar
public void setColumnIndexVar(String _columnIndexVar)
-
getColumnKey
public String getColumnKey()
-
getColumnKey
public String getColumnKey(javax.faces.component.UIComponent parent, String rowIndex)
Description copied from interface:UIColumn
SpecialUIColumn.getColumnKey()
method which must be used when we are inside e.g. the DataTable "row state".- Returns:
-
renderChildren
public void renderChildren(javax.faces.context.FacesContext context) throws IOException
- Throws:
IOException
-
getHeaderText
public String getHeaderText()
- Specified by:
getHeaderText
in interfaceUIColumn
- Overrides:
getHeaderText
in classColumnsBase
-
getDynamicColumns
public List<DynamicColumn> getDynamicColumns()
-
setDynamicColumns
public void setDynamicColumns(List<DynamicColumn> dynamicColumns)
-
-