public class Tree extends UITree implements Widget, RTLAware, javax.faces.component.behavior.ClientBehaviorHolder, PrimeClientBehaviorHolder
Modifier and Type | Class and Description |
---|---|
static class |
Tree.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_FAMILY |
static String |
COMPONENT_TYPE |
static String |
CONTAINER_CLASS |
static String |
CONTAINER_RTL_CLASS |
static String |
DEFAULT_RENDERER |
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 |
CHECKBOX_CLASS, REQUIRED_MESSAGE_ID, SEPARATOR
Constructor and Description |
---|
Tree() |
Modifier and Type | Method and Description |
---|---|
TreeNode |
createCopyOfTreeNode(TreeNode node) |
Map<String,Class<? extends javax.faces.event.BehaviorEvent>> |
getBehaviorEventMapping() |
Object |
getDatakey() |
String |
getDir() |
String |
getDragdropScope() |
String |
getDragMode() |
String |
getDropRestrict() |
Collection<String> |
getEventNames() |
String |
getFamily() |
Object |
getFilterBy() |
List<String> |
getFilteredRowKeys() |
String |
getFilterMatchMode() |
javax.el.MethodExpression |
getOnDrop() |
String |
getOnNodeClick() |
String |
getOrientation() |
String |
getScrollState() |
String |
getStyle() |
String |
getStyleClass() |
int |
getTabindex() |
Map<String,UITreeNode> |
getTreeNodes() |
UITreeNode |
getUITreeNodeByType(String type) |
String |
getWidgetVar() |
boolean |
isAnimate() |
boolean |
isCache() |
boolean |
isCheckboxSelection() |
boolean |
isDisabled() |
boolean |
isDragDropRequest(javax.faces.context.FacesContext context) |
boolean |
isDraggable() |
boolean |
isDropCopyNode() |
boolean |
isDroppable() |
boolean |
isDynamic() |
boolean |
isFilterRequest(javax.faces.context.FacesContext context) |
boolean |
isHighlight() |
boolean |
isMultipleDrag() |
boolean |
isNodeExpandRequest(javax.faces.context.FacesContext context) |
boolean |
isPropagateSelectionDown() |
boolean |
isPropagateSelectionUp() |
boolean |
isRTL() |
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) |
String |
resolveWidgetVar() |
void |
setAnimate(boolean _animate) |
void |
setCache(boolean _cache) |
void |
setDatakey(Object _datakey) |
void |
setDir(String _dir) |
void |
setDisabled(boolean _disabled) |
void |
setDragdropScope(String _dragdropScope) |
void |
setDraggable(boolean _draggable) |
void |
setDragMode(String _dragMode) |
void |
setDropCopyNode(boolean _dropCopyNode) |
void |
setDroppable(boolean _droppable) |
void |
setDropRestrict(String _dropRestrict) |
void |
setDynamic(boolean _dynamic) |
void |
setFilterBy(Object _filterBy) |
void |
setFilteredRowKeys(List<String> filteredRowKeys) |
void |
setFilterMatchMode(String _filterMatchMode) |
void |
setHighlight(boolean _highlight) |
void |
setMultipleDrag(boolean _multipleDrag) |
void |
setOnDrop(javax.el.MethodExpression _onDrop) |
void |
setOnNodeClick(String _onNodeClick) |
void |
setOrientation(String _orientation) |
void |
setPropagateSelectionDown(boolean _propagateSelectionDown) |
void |
setPropagateSelectionUp(boolean _propagateSelectionUp) |
void |
setStyle(String _style) |
void |
setStyleClass(String _styleClass) |
void |
setTabindex(int _tabindex) |
void |
setWidgetVar(String _widgetVar) |
protected boolean |
shouldVisitNode(TreeNode node) |
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, processColumnFacets, processComponent, processFacets, processNode, processNodes, refreshSelectedNodeKeys, requiresIteration, setNodeVar, setRequired, setRequiredMessage, setRowKey, setRTLRendering, setSelection, setSelectionMode, setShowUnselectableCheckbox, setSkipChildren, setValue, setVar, 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, saveState, 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
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public static final String DEFAULT_RENDERER
public static String CONTAINER_CLASS
public static String CONTAINER_RTL_CLASS
public static String HORIZONTAL_CONTAINER_CLASS
public static String ROOT_NODES_CLASS
public static String PARENT_NODE_CLASS
public static String LEAF_NODE_CLASS
public static String CHILDREN_NODES_CLASS
public static String NODE_CONTENT_CLASS_V
public static String SELECTABLE_NODE_CONTENT_CLASS_V
public static String NODE_CONTENT_CLASS_H
public static String SELECTABLE_NODE_CONTENT_CLASS_H
public static String EXPANDED_ICON_CLASS_V
public static String COLLAPSED_ICON_CLASS_V
public static String COLLAPSED_ICON_RTL_CLASS_V
public static String EXPANDED_ICON_CLASS_H
public static String COLLAPSED_ICON_CLASS_H
public static String LEAF_ICON_CLASS
public static String NODE_ICON_CLASS
public static String NODE_LABEL_CLASS
public static final String FILTER_CLASS
public static final String FILTER_CONTAINER
public String getFamily()
getFamily
in class javax.faces.component.UIComponent
public String getWidgetVar()
public void setWidgetVar(String _widgetVar)
public boolean isDynamic()
public void setDynamic(boolean _dynamic)
public boolean isCache()
public void setCache(boolean _cache)
public String getOnNodeClick()
public void setOnNodeClick(String _onNodeClick)
public String getStyle()
public void setStyle(String _style)
public String getStyleClass()
public void setStyleClass(String _styleClass)
public boolean isHighlight()
public void setHighlight(boolean _highlight)
public Object getDatakey()
public void setDatakey(Object _datakey)
public boolean isAnimate()
public void setAnimate(boolean _animate)
public String getOrientation()
public void setOrientation(String _orientation)
public boolean isPropagateSelectionUp()
public void setPropagateSelectionUp(boolean _propagateSelectionUp)
public boolean isPropagateSelectionDown()
public void setPropagateSelectionDown(boolean _propagateSelectionDown)
public String getDir()
public void setDir(String _dir)
public boolean isDraggable()
public void setDraggable(boolean _draggable)
public boolean isDroppable()
public void setDroppable(boolean _droppable)
public String getDragdropScope()
public void setDragdropScope(String _dragdropScope)
public String getDragMode()
public void setDragMode(String _dragMode)
public String getDropRestrict()
public void setDropRestrict(String _dropRestrict)
public int getTabindex()
public void setTabindex(int _tabindex)
public Object getFilterBy()
public void setFilterBy(Object _filterBy)
public String getFilterMatchMode()
public void setFilterMatchMode(String _filterMatchMode)
public boolean isDisabled()
public void setDisabled(boolean _disabled)
public boolean isMultipleDrag()
public void setMultipleDrag(boolean _multipleDrag)
public boolean isDropCopyNode()
public void setDropCopyNode(boolean _dropCopyNode)
public javax.el.MethodExpression getOnDrop()
public void setOnDrop(javax.el.MethodExpression _onDrop)
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()
getBehaviorEventMapping
in interface PrimeClientBehaviorHolder
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 String resolveWidgetVar()
resolveWidgetVar
in interface Widget
Copyright © 2018. All rights reserved.