public class Tree extends TreeBase
TreeBase.PropertyKeys| Modifier and Type | Field and Description |
|---|---|
static String |
CHILDREN_NODES_CLASS |
static String |
COLLAPSED_ICON_CLASS_H |
static String |
COLLAPSED_ICON_CLASS_V |
static String |
COLLAPSED_ICON_RTL_CLASS_V |
static String |
COMPONENT_TYPE |
static String |
CONTAINER_CLASS |
static String |
CONTAINER_RTL_CLASS |
static String |
EXPANDED_ICON_CLASS_H |
static String |
EXPANDED_ICON_CLASS_V |
static String |
FILTER_CLASS |
static String |
FILTER_CONTAINER |
static String |
HORIZONTAL_CONTAINER_CLASS |
static String |
LEAF_ICON_CLASS |
static String |
LEAF_NODE_CLASS |
static String |
NODE_CONTENT_CLASS_H |
static String |
NODE_CONTENT_CLASS_V |
static String |
NODE_ICON_CLASS |
static String |
NODE_LABEL_CLASS |
static String |
PARENT_NODE_CLASS |
static String |
ROOT_NODES_CLASS |
static String |
SELECTABLE_NODE_CONTENT_CLASS_H |
static String |
SELECTABLE_NODE_CONTENT_CLASS_V |
COMPONENT_FAMILY, DEFAULT_RENDERERCHECKBOX_CLASS, REQUIRED_MESSAGE_ID, ROOT_ROW_KEY, SEPARATOR| Constructor and Description |
|---|
Tree() |
| Modifier and Type | Method and Description |
|---|---|
TreeNode |
createCopyOfTreeNode(TreeNode node) |
Map<String,Class<? extends javax.faces.event.BehaviorEvent>> |
getBehaviorEventMapping() |
Collection<String> |
getEventNames() |
List<String> |
getFilteredRowKeys() |
String |
getScrollState() |
Map<String,UITreeNode> |
getTreeNodes() |
UITreeNode |
getUITreeNodeByType(String type) |
boolean |
isCheckboxSelection() |
boolean |
isDragDropRequest(javax.faces.context.FacesContext context) |
boolean |
isFilterRequest(javax.faces.context.FacesContext context) |
boolean |
isNodeExpandRequest(javax.faces.context.FacesContext context) |
boolean |
isSelectionRequest(javax.faces.context.FacesContext context) |
boolean |
isTreeNodeDropped() |
protected void |
processColumnChildren(javax.faces.context.FacesContext context,
javax.faces.event.PhaseId phaseId,
String nodeKey) |
void |
processDecodes(javax.faces.context.FacesContext context) |
void |
processUpdates(javax.faces.context.FacesContext context) |
void |
processValidators(javax.faces.context.FacesContext context) |
void |
queueEvent(javax.faces.event.FacesEvent event) |
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setFilteredRowKeys(List<String> filteredRowKeys) |
protected boolean |
shouldVisitNode(TreeNode node) |
protected void |
validateSelection(javax.faces.context.FacesContext context) |
getDatakey, getDir, getDragdropScope, getDragMode, getDropRestrict, getFamily, getFilterBy, getFilterMatchMode, getFilterMode, getOnDrop, getOnNodeClick, getOrientation, getStyle, getStyleClass, getTabindex, getWidgetVar, isAnimate, isCache, isDisabled, isDraggable, isDropCopyNode, isDroppable, isDynamic, isHighlight, isMultipleDrag, setAnimate, setCache, setDatakey, setDir, setDisabled, setDragdropScope, setDraggable, setDragMode, setDropCopyNode, setDroppable, setDropRestrict, setDynamic, setFilterBy, setFilterMatchMode, setFilterMode, setHighlight, setMultipleDrag, setOnDrop, setOnNodeClick, setOrientation, setStyle, setStyleClass, setTabindex, setWidgetVarbroadcast, 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, preDecode, preEncode, preUpdate, preValidate, processColumnFacets, processComponent, processFacets, processNode, processNodes, refreshSelectedNodeKeys, requiresIteration, setNodeVar, setPropagateSelectionDown, setPropagateSelectionUp, setRequired, setRequiredMessage, setRowKey, setRTLRendering, setSelection, setSelectionMode, setShowUnselectableCheckbox, setSkipChildren, setValue, setVar, updateRowKeys, updateSelection, visitColumnContent, visitFacets, visitNode, visitNodes, visitTreeaddClientBehavior, 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, setValueBindingencodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEventclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresolveWidgetVar, resolveWidgetVarpublic static final String COMPONENT_TYPE
public static final String FILTER_CLASS
public static final String FILTER_CONTAINER
public static final String CONTAINER_CLASS
public static final String CONTAINER_RTL_CLASS
public static final String HORIZONTAL_CONTAINER_CLASS
public static final String ROOT_NODES_CLASS
public static final String PARENT_NODE_CLASS
public static final String LEAF_NODE_CLASS
public static final String CHILDREN_NODES_CLASS
public static final String NODE_CONTENT_CLASS_V
public static final String SELECTABLE_NODE_CONTENT_CLASS_V
public static final String NODE_CONTENT_CLASS_H
public static final String SELECTABLE_NODE_CONTENT_CLASS_H
public static final String EXPANDED_ICON_CLASS_V
public static final String COLLAPSED_ICON_CLASS_V
public static final String COLLAPSED_ICON_RTL_CLASS_V
public static final String EXPANDED_ICON_CLASS_H
public static final String COLLAPSED_ICON_CLASS_H
public static final String LEAF_ICON_CLASS
public static final String NODE_ICON_CLASS
public static final String NODE_LABEL_CLASS
public UITreeNode getUITreeNodeByType(String type)
public boolean isNodeExpandRequest(javax.faces.context.FacesContext context)
public boolean isSelectionRequest(javax.faces.context.FacesContext context)
public boolean isFilterRequest(javax.faces.context.FacesContext context)
public Map<String,UITreeNode> getTreeNodes()
public Map<String,Class<? extends javax.faces.event.BehaviorEvent>> getBehaviorEventMapping()
public Collection<String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic void queueEvent(javax.faces.event.FacesEvent event)
queueEvent in class UITreepublic boolean isDragDropRequest(javax.faces.context.FacesContext context)
public void processDecodes(javax.faces.context.FacesContext context)
processDecodes in class UITreepublic void processValidators(javax.faces.context.FacesContext context)
processValidators in class UITreepublic void processUpdates(javax.faces.context.FacesContext context)
processUpdates in class UITreepublic boolean isCheckboxSelection()
protected boolean shouldVisitNode(TreeNode node)
shouldVisitNode in class UITreeprotected void processColumnChildren(javax.faces.context.FacesContext context,
javax.faces.event.PhaseId phaseId,
String nodeKey)
processColumnChildren in class UITreeprotected void validateSelection(javax.faces.context.FacesContext context)
validateSelection in class UITreepublic boolean isTreeNodeDropped()
public String getScrollState()
public Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIComponentBaseCopyright © 2020. All rights reserved.