public class TreeTable extends UITree
Modifier and Type | Class and Description |
---|---|
static class |
org.primefaces.component.treetable.TreeTableBase.PropertyKeys |
CHECKBOX_CLASS, REQUIRED_MESSAGE_ID, ROOT_ROW_KEY, 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() |
protected void |
preDecode(javax.faces.context.FacesContext context) |
protected void |
preEncode(javax.faces.context.FacesContext context) |
protected void |
preUpdate(javax.faces.context.FacesContext context) |
protected void |
preValidate(javax.faces.context.FacesContext context) |
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 |
setColumns(List<UIColumn> columns) |
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 |
updateColumnsVisibility(javax.faces.context.FacesContext context) |
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, encodeBegin, findTreeNode, getContainerClientId, getLocalSelectedNodes, getNodeVar, getRequiredMessage, getRowKey, getRowNode, getSelectedRowKeysAsString, getSelection, getSelectionMode, getValue, getVar, initPreselection, isNestedWithinIterator, 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, 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 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 HIDDEN_COLUMN_CLASS
public static final String STATIC_COLUMN_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 static final String COMPONENT_FAMILY
public static final String DEFAULT_RENDERER
public Map<String,Class<? extends javax.faces.event.BehaviorEvent>> getBehaviorEventMapping()
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 UIColumn getSortColumn()
public void setSortColumn(UIColumn column)
public void clearDefaultSorted()
public void setDefaultSorted()
public boolean isDefaultSorted()
public Locale resolveDataLocale()
public ColumnGroup getColumnGroup(String target)
public Columns getDynamicColumns()
public void setDynamicColumns(Columns value)
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()
public int getPage()
public int getRowsToRender()
public int getPageCount()
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)
protected void preDecode(javax.faces.context.FacesContext context)
protected void preValidate(javax.faces.context.FacesContext context)
preValidate
in class UITree
protected void preUpdate(javax.faces.context.FacesContext context)
protected void preEncode(javax.faces.context.FacesContext context)
public void updateColumnsVisibility(javax.faces.context.FacesContext context)
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 String resolveWidgetVar()
resolveWidgetVar
in interface Widget
Copyright © 2019. All rights reserved.