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_RENDERER
CHECKBOX_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, 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, 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, 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
public 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.ClientBehaviorHolder
getEventNames
in class javax.faces.component.UIComponentBase
public void queueEvent(javax.faces.event.FacesEvent event)
queueEvent
in class UITree
public boolean isDragDropRequest(javax.faces.context.FacesContext context)
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 void processUpdates(javax.faces.context.FacesContext context)
processUpdates
in class UITree
public boolean isCheckboxSelection()
protected boolean shouldVisitNode(TreeNode node)
shouldVisitNode
in class UITree
protected void processColumnChildren(javax.faces.context.FacesContext context, javax.faces.event.PhaseId phaseId, String nodeKey)
processColumnChildren
in class UITree
protected void validateSelection(javax.faces.context.FacesContext context)
validateSelection
in class UITree
public boolean isTreeNodeDropped()
public String getScrollState()
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIComponentBase
Copyright © 2020. All rights reserved.