public class TreeTable extends TreeTableBase
TreeTableBase.PropertyKeys
COMPONENT_FAMILY, DEFAULT_RENDERER
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 columnKey) |
Map<String,Class<? extends javax.faces.event.BehaviorEvent>> |
getBehaviorEventMapping() |
ColumnGroup |
getColumnGroup(String target) |
List<UIColumn> |
getColumns() |
int |
getColumnsCount() |
Columns |
getDynamicColumns() |
Collection<String> |
getEventNames() |
List<String> |
getFilteredRowKeys() |
List<FilterMeta> |
getFilterMetadata() |
javax.faces.component.UIComponent |
getFooter() |
javax.faces.component.UIComponent |
getHeader() |
int |
getPage() |
int |
getPageCount() |
int |
getRowCount() |
int |
getRowsToRender() |
String |
getScrollState() |
UIColumn |
getSortColumn() |
boolean |
hasFooterColumn() |
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 |
isFilteringEnabled() |
boolean |
isFilterRequest(javax.faces.context.FacesContext context) |
boolean |
isPaginationRequest(javax.faces.context.FacesContext context) |
boolean |
isResizeRequest(javax.faces.context.FacesContext context) |
boolean |
isRowEditRequest(javax.faces.context.FacesContext context) |
boolean |
isSelectionRequest(javax.faces.context.FacesContext context) |
boolean |
isSortRequest(javax.faces.context.FacesContext context) |
List<FilterMeta> |
populateFilterBy(javax.faces.context.FacesContext context,
TreeTable tt) |
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 |
processValidators(javax.faces.context.FacesContext context) |
void |
queueEvent(javax.faces.event.FacesEvent event) |
Locale |
resolveDataLocale() |
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setColumns(List<UIColumn> columns) |
void |
setDefaultSorted() |
void |
setDynamicColumns(Columns value) |
void |
setFilteredRowKeys(List<String> filteredRowKeys) |
void |
setFilterMetadata(List<FilterMeta> filterMetadata) |
void |
setSortColumn(UIColumn column) |
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) |
getCellEditMode, getCellSeparator, getCurrentPageReportTemplate, getDataLocale, getEditMode, getEmptyMessage, getExpandMode, getFamily, getFilterDelay, getFilteredNode, getFilterEvent, getFirst, getPageLinks, getPaginatorPosition, getPaginatorTemplate, getRows, getRowsPerPageLabel, getRowsPerPageTemplate, getRowStyleClass, getScrollHeight, getScrollWidth, getSortBy, getSortFunction, getSortOrder, getStyle, getStyleClass, getTableStyle, getTableStyleClass, getWidgetVar, isCaseSensitiveSort, isDisabledTextSelection, isEditable, isEditingRow, isLiveResize, isNativeElements, isPaginator, isPaginatorAlwaysVisible, isResizableColumns, isScrollable, isStickyHeader, setCaseSensitiveSort, setCellEditMode, setCellSeparator, setCurrentPageReportTemplate, setDataLocale, setDisabledTextSelection, setEditable, setEditingRow, setEditMode, setEmptyMessage, setExpandMode, setFilterDelay, setFilteredNode, setFilterEvent, setFirst, setLiveResize, setNativeElements, setPageLinks, setPaginator, setPaginatorAlwaysVisible, setPaginatorPosition, setPaginatorTemplate, setResizableColumns, setRows, setRowsPerPageLabel, setRowsPerPageTemplate, setRowStyleClass, setScrollable, setScrollHeight, setScrollWidth, setSortBy, setSortFunction, setSortOrder, setStickyHeader, setStyle, setStyleClass, setTableStyle, setTableStyleClass, setWidgetVar
broadcast, buildRowKeys, doVisitChildren, encodeBegin, findTreeNode, getContainerClientId, getLocalSelectedNodes, getNodeVar, getRequiredMessage, getRowKey, getRowNode, getSelectedRowKeysAsString, getSelection, getSelectionMode, getValue, getVar, initPreselection, invokeOnComponent, isNestedWithinIterator, isPropagateSelectionDown, isPropagateSelectionUp, isRequired, isRTLRendering, isShowUnselectableCheckbox, isSkipChildren, populateRowKeys, processColumnChildren, processColumnFacets, processComponent, processFacets, processNode, processNodes, processUpdates, refreshSelectedNodeKeys, requiresIteration, setNodeVar, setPropagateSelectionDown, setPropagateSelectionUp, 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, 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
resolveWidgetVar, resolveWidgetVar
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 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 void processValidators(javax.faces.context.FacesContext context)
processValidators
in class UITree
public List<FilterMeta> populateFilterBy(javax.faces.context.FacesContext context, TreeTable tt)
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<FilterMeta> getFilterMetadata()
public void setFilterMetadata(List<FilterMeta> 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)
Copyright © 2020. All rights reserved.