org.primefaces.component.datatable
Class DataTable

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIData
              extended by org.primefaces.component.api.UIData
                  extended by org.primefaces.component.datatable.DataTable
All Implemented Interfaces:
EventListener, javax.faces.component.behavior.ClientBehaviorHolder, 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, RTLAware, Widget

public class DataTable
extends UIData
implements Widget, RTLAware, javax.faces.component.behavior.ClientBehaviorHolder


Nested Class Summary
protected static class DataTable.PropertyKeys
           
 
Field Summary
static String CELL_EDITOR_CLASS
           
static String CELL_EDITOR_INPUT_CLASS
           
static String CELL_EDITOR_OUTPUT_CLASS
           
static String COLUMN_FILTER_CLASS
           
static String COLUMN_FOOTER_CLASS
           
static String COLUMN_FOOTER_CONTAINER_CLASS
           
static String COLUMN_HEADER_CLASS
           
static String COLUMN_HEADER_CONTAINER_CLASS
           
static String COLUMN_INPUT_FILTER_CLASS
           
static String COLUMN_RESIZER_CLASS
           
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
static String CONTAINER_CLASS
           
static String DATA_CLASS
           
static String DYNAMIC_COLUMN_HEADER_CLASS
           
static String EDITABLE_COLUMN_CLASS
           
static String EDITING_ROW_CLASS
           
static String EMPTY_MESSAGE_ROW_CLASS
           
static String EVEN_ROW_CLASS
           
static String EXPANDED_ROW_CLASS
           
static String EXPANDED_ROW_CONTENT_CLASS
           
static String FILTER_COLUMN_CLASS
           
static String FOOTER_CLASS
           
static String HEADER_CLASS
           
static String ODD_ROW_CLASS
           
static String RESIZABLE_COLUMN_CLASS
           
static String RESIZABLE_CONTAINER_CLASS
           
static String ROW_CLASS
           
static String ROW_EDITOR_CLASS
           
static String ROW_EDITOR_COLUMN_CLASS
           
static String ROW_TOGGLER_CLASS
           
static String RTL_CLASS
           
static String SCROLLABLE_BODY_CLASS
           
static String SCROLLABLE_CONTAINER_CLASS
           
static String SCROLLABLE_FOOTER_BOX_CLASS
           
static String SCROLLABLE_FOOTER_CLASS
           
static String SCROLLABLE_HEADER_BOX_CLASS
           
static String SCROLLABLE_HEADER_CLASS
           
static String SELECTABLE_ROW_CLASS
           
static String SELECTION_COLUMN_CLASS
           
static String SORTABLE_COLUMN_ASCENDING_ICON_CLASS
           
static String SORTABLE_COLUMN_CLASS
           
static String SORTABLE_COLUMN_DESCENDING_ICON_CLASS
           
static String SORTABLE_COLUMN_ICON_CLASS
           
static String STICKY_HEADER_CLASS
           
static String SUBTABLE_FOOTER
           
static String SUBTABLE_HEADER
           
static String SUMMARY_ROW_CLASS
           
static String TABLE_WRAPPER_CLASS
           
 
Fields inherited from class org.primefaces.component.api.UIData
PAGINATOR_ACTIVE_PAGE_CLASS, PAGINATOR_BOTTOM_CONTAINER_CLASS, PAGINATOR_CURRENT_CLASS, PAGINATOR_FIRST_PAGE_ICON_CLASS, PAGINATOR_FIRST_PAGE_LINK_CLASS, PAGINATOR_JTP_CLASS, PAGINATOR_LAST_PAGE_ICON_CLASS, PAGINATOR_LAST_PAGE_LINK_CLASS, PAGINATOR_NEXT_PAGE_ICON_CLASS, PAGINATOR_NEXT_PAGE_LINK_CLASS, PAGINATOR_PAGE_CLASS, PAGINATOR_PAGES_CLASS, PAGINATOR_PREV_PAGE_ICON_CLASS, PAGINATOR_PREV_PAGE_LINK_CLASS, PAGINATOR_RPP_OPTIONS_CLASS, PAGINATOR_TOP_CONTAINER_CLASS
 
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
DataTable()
           
 
Method Summary
protected  void addToSelectedRowKeys(Object object, Map<String,Object> map, String var, boolean hasRowKey)
           
 void clearLazyCache()
           
 SortOrder convertSortOrder()
           
 void enableFiltering()
           
 UIColumn findColumn(String clientId)
           
protected  void findSelectedRowKeys()
           
 String getCellSeparator()
           
 ColumnGroup getColumnGroup(String target)
           
 List<UIColumn> getColumns()
           
 int getColumnsCount()
           
 String getColumnSelectionMode()
           
 String getDir()
           
 Columns getDynamicColumns()
           
 String getEditMode()
           
 String getEmptyMessage()
           
 Collection<String> getEventNames()
           
 String getFamily()
           
 DataTableFeature getFeature(DataTableFeatureKey key)
           
 int getFilterDelay()
           
 List getFilteredValue()
           
 String getFilterEvent()
           
 List getFilterMetadata()
           
 Map<String,String> getFilters()
           
 Collection getFrozenRows()
           
 Object getLocalSelection()
           
 List<SortMeta> getMultiSortMeta()
           
 String getOnExpandStart()
           
 Object getRowData(String rowKey)
           
 RowExpansion getRowExpansion()
           
 Object getRowKey()
           
 Object getRowKeyFromModel(Object object)
           
 String getRowSelectMode()
           
 String getRowStyleClass()
           
 String getScrollHeight()
           
 int getScrollRows()
           
 String getScrollState()
           
 String getScrollWidth()
           
protected  List<Object> getSelectedRowKeys()
           
protected  String getSelectedRowKeysAsString()
           
 Object getSelection()
           
 String getSelectionMode()
           
 Object getSortBy()
           
 UIColumn getSortColumn()
           
 javax.el.MethodExpression getSortFunction()
           
 String getSortMode()
           
 String getSortOrder()
           
 String getStyle()
           
 String getStyleClass()
           
 SubTable getSubTable()
           
 String getSummary()
           
 SummaryRow getSummaryRow()
           
 String getTableStyle()
           
 String getTableStyleClass()
           
 Object getValue()
          Override to support filtering, we return the filtered subset in getValue instead of actual data.
 String getWidgetVar()
           
 boolean hasFooterColumn()
           
 boolean isBodyUpdate(javax.faces.context.FacesContext context)
           
 boolean isColumnSelectionEnabled()
           
 boolean isDisabledSelection()
           
 boolean isDraggableColumns()
           
 boolean isEditable()
           
 boolean isEditingRow()
           
 boolean isExpandedRow()
           
 boolean isExpressionsAdapted()
           
 boolean isFilteringEnabled()
           
 boolean isLiveResize()
           
 boolean isLiveScroll()
           
 boolean isMultiSort()
           
 boolean isRequestSource(javax.faces.context.FacesContext context)
           
 boolean isReset()
           
 boolean isResizableColumns()
           
 boolean isRowEditCancelRequest(javax.faces.context.FacesContext context)
           
 boolean isRowEditRequest(javax.faces.context.FacesContext context)
           
 boolean isRowSelectionEnabled()
           
 boolean isRTL()
           
 boolean isScrollable()
           
 boolean isSelectionEnabled()
           
 boolean isSingleSelectionMode()
           
 boolean isStickyHeader()
           
 void loadLazyData()
           
 void loadLazyScrollData(int offset, int rows)
           
protected  void processColumnFacets(javax.faces.context.FacesContext context, javax.faces.event.PhaseId phaseId)
           
 void processUpdates(javax.faces.context.FacesContext context)
           
 void queueEvent(javax.faces.event.FacesEvent event)
           
protected  boolean requiresColumns()
           
 void reset()
           
 void resetValue()
           
 String resolveDynamicField(javax.el.ValueExpression expression)
           
 String resolveSelectionMode()
           
protected  String resolveSortField()
           
 String resolveStaticField(javax.el.ValueExpression expression)
           
 String resolveWidgetVar()
           
 void setCellSeparator(String _cellSeparator)
           
 void setColumns(List<UIColumn> columns)
           
 void setDir(String _dir)
           
 void setDisabledSelection(boolean _disabledSelection)
           
 void setDraggableColumns(boolean _draggableColumns)
           
 void setDynamicColumns(Columns value)
           
 void setEditable(boolean _editable)
           
 void setEditingRow(boolean _editingRow)
           
 void setEditMode(String _editMode)
           
 void setEmptyMessage(String _emptyMessage)
           
 void setExpandedRow(boolean _expandedRow)
           
 void setExpressionsAdapted()
           
 void setFilterDelay(int _filterDelay)
           
 void setFilteredValue(List _filteredValue)
           
 void setFilterEvent(String _filterEvent)
           
 void setFilterMetadata(List filterMetadata)
           
 void setFilters(Map<String,String> filters)
           
 void setFrozenRows(Collection _frozenRows)
           
 void setLiveResize(boolean _liveResize)
           
 void setLiveScroll(boolean _liveScroll)
           
 void setMultiSortMeta(List<SortMeta> value)
           
 void setOnExpandStart(String _onExpandStart)
           
 void setResizableColumns(boolean _resizableColumns)
           
 void setRowKey(Object _rowKey)
           
 void setRowSelectMode(String _rowSelectMode)
           
 void setRowStyleClass(String _rowStyleClass)
           
 void setScrollable(boolean _scrollable)
           
 void setScrollHeight(String _scrollHeight)
           
 void setScrollRows(int _scrollRows)
           
 void setScrollWidth(String _scrollWidth)
           
 void setSelectableDataModelWrapper(SelectableDataModelWrapper wrapper)
           
 void setSelection(Object _selection)
           
 void setSelectionMode(String _selectionMode)
           
 void setSortBy(Object _sortBy)
           
 void setSortColumn(UIColumn column)
           
 void setSortFunction(javax.el.MethodExpression _sortFunction)
           
 void setSortMode(String _sortMode)
           
 void setSortOrder(String _sortOrder)
           
 void setStickyHeader(boolean _stickyHeader)
           
 void setStyle(String _style)
           
 void setStyleClass(String _styleClass)
           
 void setSummary(String _summary)
           
 void setTableStyle(String _tableStyle)
           
 void setTableStyleClass(String _tableStyleClass)
           
 void setWidgetVar(String _widgetVar)
           
 boolean shouldEncodeFeature(javax.faces.context.FacesContext context)
           
protected  boolean shouldProcessChildren(javax.faces.context.FacesContext context)
           
 
Methods inherited from class org.primefaces.component.api.UIData
calculateFirst, getClientId, getContainerClientId, getCurrentPageReportTemplate, getDataModel, getPage, getPageCount, getPageLinks, getPaginatorPosition, getPaginatorTemplate, getRowIndex, getRowIndexVar, getRowsPerPageTemplate, getRowsToRender, isLazy, isPaginationRequest, isPaginator, isPaginatorAlwaysVisible, process, processChildren, processDecodes, processFacets, processPhase, processValidators, restoreDescendantState, restoreDescendantState, saveDescendantState, saveDescendantState, setCurrentPageReportTemplate, setDataModel, setId, setLazy, setPageLinks, setPaginator, setPaginatorAlwaysVisible, setPaginatorPosition, setPaginatorTemplate, setRowIndex, setRowIndexVar, setRowModel, setRowsPerPageTemplate, shouldVisitChildren, shouldVisitRows, updatePaginationData, visitColumnContent, visitColumnFacets, visitColumnGroup, visitColumnsAndColumnFacets, visitFacets, visitRows, visitTree
 
Methods inherited from class javax.faces.component.UIData
broadcast, createUniqueId, encodeBegin, getFirst, getFooter, getHeader, getRowCount, getRowData, getRows, getVar, invokeOnComponent, isRowAvailable, isRowStatePreserved, markInitialState, restoreState, saveState, setFirst, setFooter, setHeader, setRows, setRowStatePreserved, setValue, setValueBinding, setValueExpression, setVar
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getDefaultEventName, 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 javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors, getDefaultEventName
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values

CONTAINER_CLASS

public static final String CONTAINER_CLASS
See Also:
Constant Field Values

TABLE_WRAPPER_CLASS

public static final String TABLE_WRAPPER_CLASS
See Also:
Constant Field Values

RTL_CLASS

public static final String RTL_CLASS
See Also:
Constant Field Values

COLUMN_HEADER_CLASS

public static final String COLUMN_HEADER_CLASS
See Also:
Constant Field Values

DYNAMIC_COLUMN_HEADER_CLASS

public static final String DYNAMIC_COLUMN_HEADER_CLASS
See Also:
Constant Field Values

COLUMN_HEADER_CONTAINER_CLASS

public static final String COLUMN_HEADER_CONTAINER_CLASS
See Also:
Constant Field Values

COLUMN_FOOTER_CLASS

public static final String COLUMN_FOOTER_CLASS
See Also:
Constant Field Values

COLUMN_FOOTER_CONTAINER_CLASS

public static final String COLUMN_FOOTER_CONTAINER_CLASS
See Also:
Constant Field Values

DATA_CLASS

public static final String DATA_CLASS
See Also:
Constant Field Values

ROW_CLASS

public static final String ROW_CLASS
See Also:
Constant Field Values

SELECTABLE_ROW_CLASS

public static final String SELECTABLE_ROW_CLASS
See Also:
Constant Field Values

EMPTY_MESSAGE_ROW_CLASS

public static final String EMPTY_MESSAGE_ROW_CLASS
See Also:
Constant Field Values

HEADER_CLASS

public static final String HEADER_CLASS
See Also:
Constant Field Values

FOOTER_CLASS

public static final String FOOTER_CLASS
See Also:
Constant Field Values

SORTABLE_COLUMN_CLASS

public static final String SORTABLE_COLUMN_CLASS
See Also:
Constant Field Values

SORTABLE_COLUMN_ICON_CLASS

public static final String SORTABLE_COLUMN_ICON_CLASS
See Also:
Constant Field Values

SORTABLE_COLUMN_ASCENDING_ICON_CLASS

public static final String SORTABLE_COLUMN_ASCENDING_ICON_CLASS
See Also:
Constant Field Values

SORTABLE_COLUMN_DESCENDING_ICON_CLASS

public static final String SORTABLE_COLUMN_DESCENDING_ICON_CLASS
See Also:
Constant Field Values

FILTER_COLUMN_CLASS

public static final String FILTER_COLUMN_CLASS
See Also:
Constant Field Values

COLUMN_FILTER_CLASS

public static final String COLUMN_FILTER_CLASS
See Also:
Constant Field Values

COLUMN_INPUT_FILTER_CLASS

public static final String COLUMN_INPUT_FILTER_CLASS
See Also:
Constant Field Values

RESIZABLE_COLUMN_CLASS

public static final String RESIZABLE_COLUMN_CLASS
See Also:
Constant Field Values

EXPANDED_ROW_CLASS

public static final String EXPANDED_ROW_CLASS
See Also:
Constant Field Values

EXPANDED_ROW_CONTENT_CLASS

public static final String EXPANDED_ROW_CONTENT_CLASS
See Also:
Constant Field Values

ROW_TOGGLER_CLASS

public static final String ROW_TOGGLER_CLASS
See Also:
Constant Field Values

EDITABLE_COLUMN_CLASS

public static final String EDITABLE_COLUMN_CLASS
See Also:
Constant Field Values

CELL_EDITOR_CLASS

public static final String CELL_EDITOR_CLASS
See Also:
Constant Field Values

CELL_EDITOR_INPUT_CLASS

public static final String CELL_EDITOR_INPUT_CLASS
See Also:
Constant Field Values

CELL_EDITOR_OUTPUT_CLASS

public static final String CELL_EDITOR_OUTPUT_CLASS
See Also:
Constant Field Values

ROW_EDITOR_COLUMN_CLASS

public static final String ROW_EDITOR_COLUMN_CLASS
See Also:
Constant Field Values

ROW_EDITOR_CLASS

public static final String ROW_EDITOR_CLASS
See Also:
Constant Field Values

SELECTION_COLUMN_CLASS

public static final String SELECTION_COLUMN_CLASS
See Also:
Constant Field Values

EVEN_ROW_CLASS

public static final String EVEN_ROW_CLASS
See Also:
Constant Field Values

ODD_ROW_CLASS

public static final String ODD_ROW_CLASS
See Also:
Constant Field Values

SCROLLABLE_CONTAINER_CLASS

public static final String SCROLLABLE_CONTAINER_CLASS
See Also:
Constant Field Values

SCROLLABLE_HEADER_CLASS

public static final String SCROLLABLE_HEADER_CLASS
See Also:
Constant Field Values

SCROLLABLE_HEADER_BOX_CLASS

public static final String SCROLLABLE_HEADER_BOX_CLASS
See Also:
Constant Field Values

SCROLLABLE_BODY_CLASS

public static final String SCROLLABLE_BODY_CLASS
See Also:
Constant Field Values

SCROLLABLE_FOOTER_CLASS

public static final String SCROLLABLE_FOOTER_CLASS
See Also:
Constant Field Values

SCROLLABLE_FOOTER_BOX_CLASS

public static final String SCROLLABLE_FOOTER_BOX_CLASS
See Also:
Constant Field Values

COLUMN_RESIZER_CLASS

public static final String COLUMN_RESIZER_CLASS
See Also:
Constant Field Values

RESIZABLE_CONTAINER_CLASS

public static final String RESIZABLE_CONTAINER_CLASS
See Also:
Constant Field Values

SUBTABLE_HEADER

public static final String SUBTABLE_HEADER
See Also:
Constant Field Values

SUBTABLE_FOOTER

public static final String SUBTABLE_FOOTER
See Also:
Constant Field Values

SUMMARY_ROW_CLASS

public static final String SUMMARY_ROW_CLASS
See Also:
Constant Field Values

EDITING_ROW_CLASS

public static final String EDITING_ROW_CLASS
See Also:
Constant Field Values

STICKY_HEADER_CLASS

public static final String STICKY_HEADER_CLASS
See Also:
Constant Field Values
Constructor Detail

DataTable

public DataTable()
Method Detail

getFamily

public String getFamily()
Overrides:
getFamily in class javax.faces.component.UIData

getWidgetVar

public String getWidgetVar()

setWidgetVar

public void setWidgetVar(String _widgetVar)

isScrollable

public boolean isScrollable()

setScrollable

public void setScrollable(boolean _scrollable)

getScrollHeight

public String getScrollHeight()

setScrollHeight

public void setScrollHeight(String _scrollHeight)

getScrollWidth

public String getScrollWidth()

setScrollWidth

public void setScrollWidth(String _scrollWidth)

getSelectionMode

public String getSelectionMode()

setSelectionMode

public void setSelectionMode(String _selectionMode)

getSelection

public Object getSelection()

setSelection

public void setSelection(Object _selection)

getEmptyMessage

public String getEmptyMessage()

setEmptyMessage

public void setEmptyMessage(String _emptyMessage)

getStyle

public String getStyle()

setStyle

public void setStyle(String _style)

getStyleClass

public String getStyleClass()

setStyleClass

public void setStyleClass(String _styleClass)

isLiveScroll

public boolean isLiveScroll()

setLiveScroll

public void setLiveScroll(boolean _liveScroll)

getRowStyleClass

public String getRowStyleClass()

setRowStyleClass

public void setRowStyleClass(String _rowStyleClass)

getOnExpandStart

public String getOnExpandStart()

setOnExpandStart

public void setOnExpandStart(String _onExpandStart)

isResizableColumns

public boolean isResizableColumns()

setResizableColumns

public void setResizableColumns(boolean _resizableColumns)

getSortBy

public Object getSortBy()

setSortBy

public void setSortBy(Object _sortBy)

getSortOrder

public String getSortOrder()

setSortOrder

public void setSortOrder(String _sortOrder)

getSortFunction

public javax.el.MethodExpression getSortFunction()

setSortFunction

public void setSortFunction(javax.el.MethodExpression _sortFunction)

getScrollRows

public int getScrollRows()

setScrollRows

public void setScrollRows(int _scrollRows)

getRowKey

public Object getRowKey()

setRowKey

public void setRowKey(Object _rowKey)

getFilterEvent

public String getFilterEvent()

setFilterEvent

public void setFilterEvent(String _filterEvent)

getFilterDelay

public int getFilterDelay()

setFilterDelay

public void setFilterDelay(int _filterDelay)

getTableStyle

public String getTableStyle()

setTableStyle

public void setTableStyle(String _tableStyle)

getTableStyleClass

public String getTableStyleClass()

setTableStyleClass

public void setTableStyleClass(String _tableStyleClass)

isDraggableColumns

public boolean isDraggableColumns()

setDraggableColumns

public void setDraggableColumns(boolean _draggableColumns)

isEditable

public boolean isEditable()

setEditable

public void setEditable(boolean _editable)

getFilteredValue

public List getFilteredValue()

setFilteredValue

public void setFilteredValue(List _filteredValue)

getSortMode

public String getSortMode()

setSortMode

public void setSortMode(String _sortMode)

getEditMode

public String getEditMode()

setEditMode

public void setEditMode(String _editMode)

isEditingRow

public boolean isEditingRow()

setEditingRow

public void setEditingRow(boolean _editingRow)

getCellSeparator

public String getCellSeparator()

setCellSeparator

public void setCellSeparator(String _cellSeparator)

getSummary

public String getSummary()

setSummary

public void setSummary(String _summary)

getFrozenRows

public Collection getFrozenRows()

setFrozenRows

public void setFrozenRows(Collection _frozenRows)

getDir

public String getDir()

setDir

public void setDir(String _dir)

isLiveResize

public boolean isLiveResize()

setLiveResize

public void setLiveResize(boolean _liveResize)

isStickyHeader

public boolean isStickyHeader()

setStickyHeader

public void setStickyHeader(boolean _stickyHeader)

isExpandedRow

public boolean isExpandedRow()

setExpandedRow

public void setExpandedRow(boolean _expandedRow)

isDisabledSelection

public boolean isDisabledSelection()

setDisabledSelection

public void setDisabledSelection(boolean _disabledSelection)

getRowSelectMode

public String getRowSelectMode()

setRowSelectMode

public void setRowSelectMode(String _rowSelectMode)

getFeature

public DataTableFeature getFeature(DataTableFeatureKey key)

shouldEncodeFeature

public boolean shouldEncodeFeature(javax.faces.context.FacesContext context)

isRowEditRequest

public boolean isRowEditRequest(javax.faces.context.FacesContext context)

isRowEditCancelRequest

public boolean isRowEditCancelRequest(javax.faces.context.FacesContext context)

isRowSelectionEnabled

public boolean isRowSelectionEnabled()

isColumnSelectionEnabled

public boolean isColumnSelectionEnabled()

getColumnSelectionMode

public String getColumnSelectionMode()

isSelectionEnabled

public boolean isSelectionEnabled()

isSingleSelectionMode

public boolean isSingleSelectionMode()

processUpdates

public void processUpdates(javax.faces.context.FacesContext context)
Overrides:
processUpdates in class UIData

queueEvent

public void queueEvent(javax.faces.event.FacesEvent event)
Overrides:
queueEvent in class javax.faces.component.UIData

findColumn

public UIColumn findColumn(String clientId)

getColumnGroup

public ColumnGroup getColumnGroup(String target)

hasFooterColumn

public boolean hasFooterColumn()

loadLazyData

public void loadLazyData()

loadLazyScrollData

public void loadLazyScrollData(int offset,
                               int rows)

resolveSortField

protected String resolveSortField()

convertSortOrder

public SortOrder convertSortOrder()

resolveStaticField

public String resolveStaticField(javax.el.ValueExpression expression)

resolveDynamicField

public String resolveDynamicField(javax.el.ValueExpression expression)

clearLazyCache

public void clearLazyCache()

getFilters

public Map<String,String> getFilters()

setFilters

public void setFilters(Map<String,String> filters)

getFilterMetadata

public List getFilterMetadata()

setFilterMetadata

public void setFilterMetadata(List filterMetadata)

isReset

public boolean isReset()

resetValue

public void resetValue()

reset

public void reset()

isFilteringEnabled

public boolean isFilteringEnabled()

enableFiltering

public void enableFiltering()

getRowExpansion

public RowExpansion getRowExpansion()

getValue

public Object getValue()
Override to support filtering, we return the filtered subset in getValue instead of actual data. In case selectableDataModel is bound, we wrap it with filtered data.

Overrides:
getValue in class javax.faces.component.UIData

setSelectableDataModelWrapper

public void setSelectableDataModelWrapper(SelectableDataModelWrapper wrapper)

getLocalSelection

public Object getLocalSelection()

getEventNames

public Collection<String> getEventNames()
Specified by:
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHolder
Overrides:
getEventNames in class javax.faces.component.UIComponentBase

isRequestSource

public boolean isRequestSource(javax.faces.context.FacesContext context)

isBodyUpdate

public boolean isBodyUpdate(javax.faces.context.FacesContext context)

getSubTable

public SubTable getSubTable()

getRowKeyFromModel

public Object getRowKeyFromModel(Object object)

getRowData

public Object getRowData(String rowKey)

findSelectedRowKeys

protected void findSelectedRowKeys()

addToSelectedRowKeys

protected void addToSelectedRowKeys(Object object,
                                    Map<String,Object> map,
                                    String var,
                                    boolean hasRowKey)

getSelectedRowKeys

protected List<Object> getSelectedRowKeys()

getSelectedRowKeysAsString

protected String getSelectedRowKeysAsString()

getSummaryRow

public SummaryRow getSummaryRow()

getColumnsCount

public int getColumnsCount()

getColumns

public List<UIColumn> getColumns()

setColumns

public void setColumns(List<UIColumn> columns)

getScrollState

public String getScrollState()

shouldProcessChildren

protected boolean shouldProcessChildren(javax.faces.context.FacesContext context)
Overrides:
shouldProcessChildren in class UIData

setSortColumn

public void setSortColumn(UIColumn column)

getSortColumn

public UIColumn getSortColumn()

isMultiSort

public boolean isMultiSort()

getMultiSortMeta

public List<SortMeta> getMultiSortMeta()

setMultiSortMeta

public void setMultiSortMeta(List<SortMeta> value)

isRTL

public boolean isRTL()
Specified by:
isRTL in interface RTLAware

resolveSelectionMode

public String resolveSelectionMode()

requiresColumns

protected boolean requiresColumns()
Overrides:
requiresColumns in class UIData

setDynamicColumns

public void setDynamicColumns(Columns value)

getDynamicColumns

public Columns getDynamicColumns()

processColumnFacets

protected void processColumnFacets(javax.faces.context.FacesContext context,
                                   javax.faces.event.PhaseId phaseId)
Overrides:
processColumnFacets in class UIData

isExpressionsAdapted

public boolean isExpressionsAdapted()

setExpressionsAdapted

public void setExpressionsAdapted()

resolveWidgetVar

public String resolveWidgetVar()
Specified by:
resolveWidgetVar in interface Widget


Copyright © 2013. All rights reserved.