public class Tree extends UITree
| Modifier and Type | Class and Description |
|---|---|
static class |
org.primefaces.component.tree.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_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, 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() |
Object |
getDatakey() |
String |
getDir() |
String |
getDragdropScope() |
String |
getDragMode() |
String |
getDropRestrict() |
Collection<String> |
getEventNames() |
String |
getFamily() |
Object |
getFilterBy() |
List<String> |
getFilteredRowKeys() |
String |
getFilterMatchMode() |
String |
getFilterMode() |
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 |
setFilterMode(String filterMode) |
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, encodeBegin, findTreeNode, getContainerClientId, getLocalSelectedNodes, getNodeVar, getRequiredMessage, getRowKey, getRowNode, getSelectedRowKeysAsString, getSelection, getSelectionMode, getValue, getVar, initPreselection, isNestedWithinIterator, isRequired, isRTLRendering, isShowUnselectableCheckbox, isSkipChildren, populateRowKeys, preDecode, preEncode, preUpdate, preValidate, processColumnFacets, processComponent, processFacets, processNode, processNodes, refreshSelectedNodeKeys, requiresIteration, setNodeVar, 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, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, 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, unsubscribeFromEventpublic 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 static final String COMPONENT_FAMILY
public static final String DEFAULT_RENDERER
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 String getFamily()
getFamily in class javax.faces.component.UIComponentpublic 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 String getFilterMode()
public void setFilterMode(String filterMode)
public String resolveWidgetVar()
resolveWidgetVar in interface WidgetCopyright © 2019. All rights reserved.