public class TreeTable extends UITree implements Widget, javax.faces.component.behavior.ClientBehaviorHolder, PrimeClientBehaviorHolder, Pageable
Modifier and Type | Class and Description |
---|---|
static class |
TreeTable.PropertyKeys |
CHECKBOX_CLASS, REQUIRED_MESSAGE_ID, SEPARATOR
Constructor and Description |
---|
TreeTable() |
Modifier and Type | Method and Description |
---|---|
void |
calculateFirst() |
void |
clearDefaultSorted() |
void |
enableFiltering() |
UIColumn |
findColumn(String clientId) |
Map<String,Class<? extends javax.faces.event.BehaviorEvent>> |
getBehaviorEventMapping() |
String |
getCellEditMode() |
String |
getCellSeparator() |
ColumnGroup |
getColumnGroup(String target) |
List<UIColumn> |
getColumns() |
int |
getColumnsCount() |
String |
getCurrentPageReportTemplate() |
Object |
getDataLocale() |
Columns |
getDynamicColumns() |
String |
getEditMode() |
String |
getEmptyMessage() |
Collection<String> |
getEventNames() |
String |
getExpandMode() |
String |
getFamily() |
int |
getFilterDelay() |
Object |
getFilteredNode() |
List<String> |
getFilteredRowKeys() |
String |
getFilterEvent() |
List |
getFilterMetadata() |
int |
getFirst() |
javax.faces.component.UIComponent |
getFooter() |
javax.faces.component.UIComponent |
getHeader() |
int |
getPage() |
int |
getPageCount() |
int |
getPageLinks() |
String |
getPaginatorPosition() |
String |
getPaginatorTemplate() |
int |
getRowCount() |
int |
getRows() |
String |
getRowsPerPageLabel() |
String |
getRowsPerPageTemplate() |
int |
getRowsToRender() |
String |
getRowStyleClass() |
String |
getScrollHeight() |
String |
getScrollState() |
String |
getScrollWidth() |
Object |
getSortBy() |
UIColumn |
getSortColumn() |
javax.el.MethodExpression |
getSortFunction() |
String |
getSortOrder() |
String |
getStyle() |
String |
getStyleClass() |
String |
getTableStyle() |
String |
getTableStyleClass() |
String |
getWidgetVar() |
boolean |
hasFooterColumn() |
boolean |
isCaseSensitiveSort() |
boolean |
isCellEditCancelRequest(javax.faces.context.FacesContext context) |
boolean |
isCellEditInitRequest(javax.faces.context.FacesContext context) |
boolean |
isCellEditRequest(javax.faces.context.FacesContext context) |
boolean |
isCheckboxSelection() |
boolean |
isDefaultSorted() |
boolean |
isDisabledTextSelection() |
boolean |
isEditable() |
boolean |
isEditingRow() |
boolean |
isFilteringEnabled() |
boolean |
isFilterRequest(javax.faces.context.FacesContext context) |
boolean |
isLiveResize() |
boolean |
isNativeElements() |
boolean |
isPaginationRequest(javax.faces.context.FacesContext context) |
boolean |
isPaginator() |
boolean |
isPaginatorAlwaysVisible() |
boolean |
isResizableColumns() |
boolean |
isResizeRequest(javax.faces.context.FacesContext context) |
boolean |
isRowEditRequest(javax.faces.context.FacesContext context) |
boolean |
isScrollable() |
boolean |
isSelectionRequest(javax.faces.context.FacesContext context) |
boolean |
isSortRequest(javax.faces.context.FacesContext context) |
boolean |
isStickyHeader() |
void |
processDecodes(javax.faces.context.FacesContext context) |
void |
queueEvent(javax.faces.event.FacesEvent event) |
Locale |
resolveDataLocale() |
String |
resolveWidgetVar() |
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setCaseSensitiveSort(boolean _caseSensitiveSort) |
void |
setCellEditMode(String _cellEditMode) |
void |
setCellSeparator(String _cellSeparator) |
void |
setCurrentPageReportTemplate(String _currentPageReportTemplate) |
void |
setDataLocale(Object _dataLocale) |
void |
setDefaultSorted() |
void |
setDisabledTextSelection(boolean _disabledTextSelection) |
void |
setDynamicColumns(Columns value) |
void |
setEditable(boolean _editable) |
void |
setEditingRow(boolean _editingRow) |
void |
setEditMode(String _editMode) |
void |
setEmptyMessage(String _emptyMessage) |
void |
setExpandMode(String _expandMode) |
void |
setFilterDelay(int _filterDelay) |
void |
setFilteredNode(Object _filteredNode) |
void |
setFilteredRowKeys(List<String> filteredRowKeys) |
void |
setFilterEvent(String _filterEvent) |
void |
setFilterMetadata(List filterMetadata) |
void |
setFirst(int _first) |
void |
setLiveResize(boolean _liveResize) |
void |
setNativeElements(boolean _nativeElements) |
void |
setPageLinks(int _pageLinks) |
void |
setPaginator(boolean _paginator) |
void |
setPaginatorAlwaysVisible(boolean _paginatorAlwaysVisible) |
void |
setPaginatorPosition(String _paginatorPosition) |
void |
setPaginatorTemplate(String _paginatorTemplate) |
void |
setResizableColumns(boolean _resizableColumns) |
void |
setRows(int _rows) |
void |
setRowsPerPageLabel(String _rowsPerPageLabel) |
void |
setRowsPerPageTemplate(String _rowsPerPageTemplate) |
void |
setRowStyleClass(String _rowStyleClass) |
void |
setScrollable(boolean _scrollable) |
void |
setScrollHeight(String _scrollHeight) |
void |
setScrollWidth(String _scrollWidth) |
void |
setSortBy(Object _sortBy) |
void |
setSortColumn(UIColumn column) |
void |
setSortFunction(javax.el.MethodExpression _sortFunction) |
void |
setSortOrder(String _sortOrder) |
void |
setStickyHeader(boolean _stickyHeader) |
void |
setStyle(String _style) |
void |
setStyleClass(String _styleClass) |
void |
setTableStyle(String _tableStyle) |
void |
setTableStyleClass(String _tableStyleClass) |
void |
setWidgetVar(String _widgetVar) |
void |
updateFilteredNode(javax.faces.context.FacesContext context,
TreeNode node) |
void |
updatePaginationData(javax.faces.context.FacesContext context) |
protected void |
validateSelection(javax.faces.context.FacesContext context) |
broadcast, buildRowKeys, doVisitChildren, findTreeNode, getContainerClientId, getLocalSelectedNodes, getNodeVar, getRequiredMessage, getRowKey, getRowNode, getSelectedRowKeysAsString, getSelection, getSelectionMode, getValue, getVar, initPreselection, isRequired, isRTLRendering, isShowUnselectableCheckbox, isSkipChildren, populateRowKeys, processColumnChildren, processColumnFacets, processComponent, processFacets, processNode, processNodes, processUpdates, processValidators, refreshSelectedNodeKeys, requiresIteration, setNodeVar, setRequired, setRequiredMessage, setRowKey, setRTLRendering, setSelection, setSelectionMode, setShowUnselectableCheckbox, setSkipChildren, setValue, setVar, shouldVisitNode, updateRowKeys, updateSelection, visitColumnContent, visitFacets, visitNode, visitNodes, visitTree
addClientBehavior, addFacesListener, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addClientBehavior, getClientBehaviors, getDefaultEventName
getClientId, getFacet
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public static final String DEFAULT_RENDERER
public static final String CONTAINER_CLASS
public static final String RESIZABLE_CONTAINER_CLASS
public static final String HEADER_CLASS
public static final String DATA_CLASS
public static final String FOOTER_CLASS
public static final String COLUMN_HEADER_CLASS
public static final String SORTABLE_COLUMN_HEADER_CLASS
public static final String ROW_CLASS
public static final String SELECTED_ROW_CLASS
public static final String COLUMN_CONTENT_WRAPPER
public static final String EXPAND_ICON
public static final String COLLAPSE_ICON
public static final String SCROLLABLE_CONTAINER_CLASS
public static final String SCROLLABLE_HEADER_CLASS
public static final String SCROLLABLE_HEADER_BOX_CLASS
public static final String SCROLLABLE_BODY_CLASS
public static final String SCROLLABLE_FOOTER_CLASS
public static final String SCROLLABLE_FOOTER_BOX_CLASS
public static final String SELECTABLE_NODE_CLASS
public static final String RESIZABLE_COLUMN_CLASS
public static final String INDENT_CLASS
public static final String EMPTY_MESSAGE_ROW_CLASS
public static final String PARTIAL_SELECTED_CLASS
public static final String SORTABLE_COLUMN_ICON_CLASS
public static final String SORTABLE_COLUMN_ASCENDING_ICON_CLASS
public static final String SORTABLE_COLUMN_DESCENDING_ICON_CLASS
public static final String REFLOW_CLASS
public static final String FILTER_COLUMN_CLASS
public static final String COLUMN_INPUT_FILTER_CLASS
public static final String COLUMN_CUSTOM_FILTER_CLASS
public static final String EDITABLE_COLUMN_CLASS
public static final String EDITING_ROW_CLASS
public static final String STARTS_WITH_MATCH_MODE
public static final String ENDS_WITH_MATCH_MODE
public static final String CONTAINS_MATCH_MODE
public static final String EXACT_MATCH_MODE
public static final String LESS_THAN_MODE
public static final String LESS_THAN_EQUALS_MODE
public static final String GREATER_THAN_MODE
public static final String GREATER_THAN_EQUALS_MODE
public static final String EQUALS_MODE
public static final String IN_MODE
public static final String GLOBAL_MODE
public String getFamily()
getFamily
in class javax.faces.component.UIComponent
public String getWidgetVar()
public void setWidgetVar(String _widgetVar)
public String getStyle()
public void setStyle(String _style)
public String getStyleClass()
public void setStyleClass(String _styleClass)
public boolean isScrollable()
public void setScrollable(boolean _scrollable)
public String getScrollHeight()
public void setScrollHeight(String _scrollHeight)
public String getScrollWidth()
public void setScrollWidth(String _scrollWidth)
public String getTableStyle()
public void setTableStyle(String _tableStyle)
public String getTableStyleClass()
public void setTableStyleClass(String _tableStyleClass)
public String getEmptyMessage()
public void setEmptyMessage(String _emptyMessage)
public boolean isResizableColumns()
public void setResizableColumns(boolean _resizableColumns)
public String getRowStyleClass()
public void setRowStyleClass(String _rowStyleClass)
public boolean isLiveResize()
public void setLiveResize(boolean _liveResize)
public Object getSortBy()
public void setSortBy(Object _sortBy)
public String getSortOrder()
public void setSortOrder(String _sortOrder)
public javax.el.MethodExpression getSortFunction()
public void setSortFunction(javax.el.MethodExpression _sortFunction)
public boolean isNativeElements()
public void setNativeElements(boolean _nativeElements)
public Object getDataLocale()
public void setDataLocale(Object _dataLocale)
public boolean isCaseSensitiveSort()
public void setCaseSensitiveSort(boolean _caseSensitiveSort)
public String getExpandMode()
public void setExpandMode(String _expandMode)
public boolean isStickyHeader()
public void setStickyHeader(boolean _stickyHeader)
public boolean isEditable()
public void setEditable(boolean _editable)
public String getEditMode()
public void setEditMode(String _editMode)
public boolean isEditingRow()
public void setEditingRow(boolean _editingRow)
public String getCellSeparator()
public void setCellSeparator(String _cellSeparator)
public boolean isDisabledTextSelection()
public void setDisabledTextSelection(boolean _disabledTextSelection)
public boolean isPaginator()
public void setPaginator(boolean _paginator)
public String getPaginatorTemplate()
getPaginatorTemplate
in interface Pageable
public void setPaginatorTemplate(String _paginatorTemplate)
public String getRowsPerPageTemplate()
getRowsPerPageTemplate
in interface Pageable
public void setRowsPerPageTemplate(String _rowsPerPageTemplate)
public String getRowsPerPageLabel()
getRowsPerPageLabel
in interface Pageable
public void setRowsPerPageLabel(String _rowsPerPageLabel)
public String getCurrentPageReportTemplate()
getCurrentPageReportTemplate
in interface Pageable
public void setCurrentPageReportTemplate(String _currentPageReportTemplate)
public int getPageLinks()
getPageLinks
in interface Pageable
public void setPageLinks(int _pageLinks)
public String getPaginatorPosition()
getPaginatorPosition
in interface Pageable
public void setPaginatorPosition(String _paginatorPosition)
public boolean isPaginatorAlwaysVisible()
isPaginatorAlwaysVisible
in interface Pageable
public void setPaginatorAlwaysVisible(boolean _paginatorAlwaysVisible)
public void setRows(int _rows)
public void setFirst(int _first)
public Object getFilteredNode()
public void setFilteredNode(Object _filteredNode)
public String getFilterEvent()
public void setFilterEvent(String _filterEvent)
public int getFilterDelay()
public void setFilterDelay(int _filterDelay)
public String getCellEditMode()
public void setCellEditMode(String _cellEditMode)
public Map<String,Class<? extends javax.faces.event.BehaviorEvent>> getBehaviorEventMapping()
getBehaviorEventMapping
in interface PrimeClientBehaviorHolder
public Collection<String> getEventNames()
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
getEventNames
in class javax.faces.component.UIComponentBase
public boolean isSelectionRequest(javax.faces.context.FacesContext context)
public boolean isSortRequest(javax.faces.context.FacesContext context)
public boolean isPaginationRequest(javax.faces.context.FacesContext context)
public boolean isRowEditRequest(javax.faces.context.FacesContext context)
public boolean isCellEditRequest(javax.faces.context.FacesContext context)
public boolean isCellEditCancelRequest(javax.faces.context.FacesContext context)
public boolean isCellEditInitRequest(javax.faces.context.FacesContext context)
public boolean isFilterRequest(javax.faces.context.FacesContext context)
public void queueEvent(javax.faces.event.FacesEvent event)
queueEvent
in class UITree
public void processDecodes(javax.faces.context.FacesContext context)
processDecodes
in class UITree
public boolean hasFooterColumn()
public boolean isResizeRequest(javax.faces.context.FacesContext context)
public int getColumnsCount()
public String getScrollState()
public boolean isCheckboxSelection()
public void setSortColumn(UIColumn column)
public UIColumn getSortColumn()
public void clearDefaultSorted()
public void setDefaultSorted()
public boolean isDefaultSorted()
public Locale resolveDataLocale()
public ColumnGroup getColumnGroup(String target)
public void setDynamicColumns(Columns value)
public Columns getDynamicColumns()
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIComponentBase
protected void validateSelection(javax.faces.context.FacesContext context)
validateSelection
in class UITree
public int getRowCount()
getRowCount
in interface Pageable
public int getRowsToRender()
getRowsToRender
in interface Pageable
public int getPageCount()
getPageCount
in interface Pageable
public javax.faces.component.UIComponent getHeader()
public javax.faces.component.UIComponent getFooter()
public void calculateFirst()
public void updatePaginationData(javax.faces.context.FacesContext context)
public boolean isFilteringEnabled()
public void enableFiltering()
public void updateFilteredNode(javax.faces.context.FacesContext context, TreeNode node)
public List getFilterMetadata()
public void setFilterMetadata(List filterMetadata)
public String resolveWidgetVar()
resolveWidgetVar
in interface Widget
Copyright © 2018. All rights reserved.