public class Tree extends UITree implements Widget, RTLAware, javax.faces.component.behavior.ClientBehaviorHolder
Modifier and Type | Class and Description |
---|---|
protected 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 |
EXPANDED_ICON_CLASS_H |
static String |
EXPANDED_ICON_CLASS_V |
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 |
---|---|
Object |
getDatakey() |
String |
getDir() |
String |
getDragdropScope() |
String |
getDragMode() |
String |
getDropRestrict() |
Collection<String> |
getEventNames() |
String |
getFamily() |
String |
getOnNodeClick() |
String |
getOrientation() |
String |
getStyle() |
String |
getStyleClass() |
int |
getTabindex() |
Map<String,UITreeNode> |
getTreeNodes() |
UITreeNode |
getUITreeNodeByType(String type) |
String |
getWidgetVar() |
boolean |
isAnimate() |
boolean |
isCache() |
boolean |
isCheckboxSelection() |
boolean |
isDragDropRequest(javax.faces.context.FacesContext context) |
boolean |
isDraggable() |
boolean |
isDroppable() |
boolean |
isDynamic() |
boolean |
isHighlight() |
boolean |
isNodeExpandRequest(javax.faces.context.FacesContext context) |
boolean |
isPropagateSelectionDown() |
boolean |
isPropagateSelectionUp() |
boolean |
isRTL() |
boolean |
isSelectionRequest(javax.faces.context.FacesContext context) |
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 |
setDragdropScope(String _dragdropScope) |
void |
setDraggable(boolean _draggable) |
void |
setDragMode(String _dragMode) |
void |
setDroppable(boolean _droppable) |
void |
setDropRestrict(String _dropRestrict) |
void |
setDynamic(boolean _dynamic) |
void |
setHighlight(boolean _highlight) |
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) |
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, validateSelection, 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, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
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 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 UITreeNode getUITreeNodeByType(String type)
public boolean isNodeExpandRequest(javax.faces.context.FacesContext context)
public boolean isSelectionRequest(javax.faces.context.FacesContext context)
public Map<String,UITreeNode> getTreeNodes()
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
public String resolveWidgetVar()
resolveWidgetVar
in interface Widget
Copyright © 2015. All rights reserved.