Package org.primefaces.component.api
Class DynamicColumn
java.lang.Object
org.primefaces.component.api.DynamicColumn
- All Implemented Interfaces:
UIColumn
-
Field Summary
Fields inherited from interface org.primefaces.component.api.UIColumn
DEFAULT_FILTER_MATCH_MODE, DYNAMIC_FIELD_VE_LEGACY_PATTERN, STATIC_FIELD_VE_LEGACY_PATTERN
-
Constructor Summary
ConstructorsConstructorDescriptionDynamicColumn
(int index, Columns columns, javax.faces.context.FacesContext context) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
javax.faces.component.UIComponent
void
void
void
encodeAll
(javax.faces.context.FacesContext context) List<javax.faces.component.UIComponent>
getClientId
(javax.faces.context.FacesContext context) int
getColumnKey
(javax.faces.component.UIComponent parent, String rowIndex) SpecialUIColumn.getColumnKey()
method which must be used when we are inside e.g.getContainerClientId
(javax.faces.context.FacesContext context) int
int
javax.el.MethodExpression
int
javax.faces.component.UIComponent
getField()
javax.el.MethodExpression
int
getId()
int
getIndex()
int
int
int
javax.el.MethodExpression
int
getStyle()
getTitle()
javax.el.ValueExpression
getValueExpression
(String property) getWidth()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
renderChildren
(javax.faces.context.FacesContext context) void
setVisible
(boolean visible) 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
getColumnKey, getFilterValueFromValueHolder, resolveField, setFilterValueToValueHolder
-
Constructor Details
-
DynamicColumn
-
-
Method Details
-
asUIComponent
public javax.faces.component.UIComponent asUIComponent()- Specified by:
asUIComponent
in interfaceUIColumn
-
getIndex
public int getIndex() -
applyModel
public void applyModel() -
applyStatelessModel
public void applyStatelessModel() -
cleanStatelessModel
public void cleanStatelessModel() -
cleanModel
public void cleanModel() -
getColumns
-
getValueExpression
- Specified by:
getValueExpression
in interfaceUIColumn
-
getContainerClientId
- Specified by:
getContainerClientId
in interfaceUIColumn
-
getId
-
getClientId
- Specified by:
getClientId
in interfaceUIColumn
-
getClientId
- Specified by:
getClientId
in interfaceUIColumn
-
isSelectionBox
public boolean isSelectionBox()- Specified by:
isSelectionBox
in interfaceUIColumn
-
isResizable
public boolean isResizable()- Specified by:
isResizable
in interfaceUIColumn
-
getStyle
-
getStyleClass
- Specified by:
getStyleClass
in interfaceUIColumn
-
getRowspan
public int getRowspan()- Specified by:
getRowspan
in interfaceUIColumn
-
getColspan
public int getColspan()- Specified by:
getColspan
in interfaceUIColumn
-
getFilterPosition
- Specified by:
getFilterPosition
in interfaceUIColumn
-
getFacet
-
getHeaderText
- Specified by:
getHeaderText
in interfaceUIColumn
-
getFilterStyleClass
- Specified by:
getFilterStyleClass
in interfaceUIColumn
-
getFilterStyle
- Specified by:
getFilterStyle
in interfaceUIColumn
-
getFilterMatchMode
- Specified by:
getFilterMatchMode
in interfaceUIColumn
-
getFilterMaxLength
public int getFilterMaxLength()- Specified by:
getFilterMaxLength
in interfaceUIColumn
-
getCellEditor
- Specified by:
getCellEditor
in interfaceUIColumn
-
isDynamic
public boolean isDynamic() -
getSortFunction
public javax.el.MethodExpression getSortFunction()- Specified by:
getSortFunction
in interfaceUIColumn
-
getChildren
- Specified by:
getChildren
in interfaceUIColumn
-
isExportable
public boolean isExportable()- Specified by:
isExportable
in interfaceUIColumn
-
isRendered
public boolean isRendered()- Specified by:
isRendered
in interfaceUIColumn
-
encodeAll
- Specified by:
encodeAll
in interfaceUIColumn
- Throws:
IOException
-
renderChildren
- Specified by:
renderChildren
in interfaceUIColumn
- Throws:
IOException
-
getColumnKey
- Specified by:
getColumnKey
in interfaceUIColumn
-
getColumnKey
Description copied from interface:UIColumn
SpecialUIColumn.getColumnKey()
method which must be used when we are inside e.g. the DataTable "row state".- Specified by:
getColumnKey
in interfaceUIColumn
- Returns:
-
getWidth
-
getSortBy
-
getFilterBy
- Specified by:
getFilterBy
in interfaceUIColumn
-
isToggleable
public boolean isToggleable()- Specified by:
isToggleable
in interfaceUIColumn
-
getFilterFunction
public javax.el.MethodExpression getFilterFunction()- Specified by:
getFilterFunction
in interfaceUIColumn
-
getField
-
getFilterValue
- Specified by:
getFilterValue
in interfaceUIColumn
-
getResponsivePriority
public int getResponsivePriority()- Specified by:
getResponsivePriority
in interfaceUIColumn
-
isSortable
public boolean isSortable()- Specified by:
isSortable
in interfaceUIColumn
-
isFilterable
public boolean isFilterable()- Specified by:
isFilterable
in interfaceUIColumn
-
isVisible
public boolean isVisible() -
setVisible
public void setVisible(boolean visible) -
isSelectRow
public boolean isSelectRow()- Specified by:
isSelectRow
in interfaceUIColumn
-
getAriaHeaderText
- Specified by:
getAriaHeaderText
in interfaceUIColumn
-
getExportFunction
public javax.el.MethodExpression getExportFunction()- Specified by:
getExportFunction
in interfaceUIColumn
-
isGroupRow
public boolean isGroupRow()- Specified by:
isGroupRow
in interfaceUIColumn
-
getExportHeaderValue
- Specified by:
getExportHeaderValue
in interfaceUIColumn
-
getExportTag
- Specified by:
getExportTag
in interfaceUIColumn
-
getSortOrder
- Specified by:
getSortOrder
in interfaceUIColumn
-
getSortPriority
public int getSortPriority()- Specified by:
getSortPriority
in interfaceUIColumn
-
getNullSortOrder
public int getNullSortOrder()- Specified by:
getNullSortOrder
in interfaceUIColumn
-
isCaseSensitiveSort
public boolean isCaseSensitiveSort()- Specified by:
isCaseSensitiveSort
in interfaceUIColumn
-
isDraggable
public boolean isDraggable()- Specified by:
isDraggable
in interfaceUIColumn
-
getExportValue
- Specified by:
getExportValue
in interfaceUIColumn
-
getExportRowspan
public int getExportRowspan()- Specified by:
getExportRowspan
in interfaceUIColumn
-
getExportColspan
public int getExportColspan()- Specified by:
getExportColspan
in interfaceUIColumn
-
getDisplayPriority
public int getDisplayPriority()- Specified by:
getDisplayPriority
in interfaceUIColumn
-
getTitle
-
getFilterPlaceholder
- Specified by:
getFilterPlaceholder
in interfaceUIColumn
-
getConverter
- Specified by:
getConverter
in interfaceUIColumn
-