org.primefaces.component.tree
Class Tree
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.primefaces.component.api.UITree
org.primefaces.component.tree.Tree
- All Implemented Interfaces:
- EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.NamingContainer, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, RTLAware, Widget
public class Tree
- extends UITree
- implements Widget, RTLAware, javax.faces.component.behavior.ClientBehaviorHolder
Fields inherited from class javax.faces.component.UIComponent |
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY |
Fields inherited from interface javax.faces.component.NamingContainer |
SEPARATOR_CHAR |
Constructor Summary |
Tree()
|
Methods inherited from class org.primefaces.component.api.UITree |
broadcast, buildRowKeys, doVisitChildren, findTreeNode, getContainerClientId, getLocalSelectedNodes, getRowKey, getRowNode, getSelectedRowKeysAsString, getSelection, getSelectionMode, getValue, getVar, initPreselection, isRTLRendering, populateRowKeys, processColumnChildren, processColumnFacets, processFacets, processNode, processNodes, setRowKey, setRTLRendering, setSelection, setSelectionMode, setValue, setVar, updateSelection, visitFacets, visitNode, visitNodes, visitTree |
Methods inherited from class javax.faces.component.UIComponentBase |
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 |
Methods inherited from class javax.faces.component.UIComponent |
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder |
addClientBehavior, getClientBehaviors, getDefaultEventName |
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
CONTAINER_CLASS
public static String CONTAINER_CLASS
CONTAINER_RTL_CLASS
public static String CONTAINER_RTL_CLASS
HORIZONTAL_CONTAINER_CLASS
public static String HORIZONTAL_CONTAINER_CLASS
ROOT_NODES_CLASS
public static String ROOT_NODES_CLASS
PARENT_NODE_CLASS
public static String PARENT_NODE_CLASS
LEAF_NODE_CLASS
public static String LEAF_NODE_CLASS
CHILDREN_NODES_CLASS
public static String CHILDREN_NODES_CLASS
NODE_CONTENT_CLASS_V
public static String NODE_CONTENT_CLASS_V
SELECTABLE_NODE_CONTENT_CLASS_V
public static String SELECTABLE_NODE_CONTENT_CLASS_V
NODE_CONTENT_CLASS_H
public static String NODE_CONTENT_CLASS_H
SELECTABLE_NODE_CONTENT_CLASS_H
public static String SELECTABLE_NODE_CONTENT_CLASS_H
EXPANDED_ICON_CLASS_V
public static String EXPANDED_ICON_CLASS_V
COLLAPSED_ICON_CLASS_V
public static String COLLAPSED_ICON_CLASS_V
COLLAPSED_ICON_RTL_CLASS_V
public static String COLLAPSED_ICON_RTL_CLASS_V
EXPANDED_ICON_CLASS_H
public static String EXPANDED_ICON_CLASS_H
COLLAPSED_ICON_CLASS_H
public static String COLLAPSED_ICON_CLASS_H
LEAF_ICON_CLASS
public static String LEAF_ICON_CLASS
NODE_ICON_CLASS
public static String NODE_ICON_CLASS
NODE_LABEL_CLASS
public static String NODE_LABEL_CLASS
Tree
public Tree()
getFamily
public String getFamily()
- Specified by:
getFamily
in class javax.faces.component.UIComponent
getWidgetVar
public String getWidgetVar()
setWidgetVar
public void setWidgetVar(String _widgetVar)
isDynamic
public boolean isDynamic()
setDynamic
public void setDynamic(boolean _dynamic)
isCache
public boolean isCache()
setCache
public void setCache(boolean _cache)
getOnNodeClick
public String getOnNodeClick()
setOnNodeClick
public void setOnNodeClick(String _onNodeClick)
getStyle
public String getStyle()
setStyle
public void setStyle(String _style)
getStyleClass
public String getStyleClass()
setStyleClass
public void setStyleClass(String _styleClass)
isHighlight
public boolean isHighlight()
setHighlight
public void setHighlight(boolean _highlight)
getDatakey
public Object getDatakey()
setDatakey
public void setDatakey(Object _datakey)
isAnimate
public boolean isAnimate()
setAnimate
public void setAnimate(boolean _animate)
getOrientation
public String getOrientation()
setOrientation
public void setOrientation(String _orientation)
isPropagateSelectionUp
public boolean isPropagateSelectionUp()
setPropagateSelectionUp
public void setPropagateSelectionUp(boolean _propagateSelectionUp)
isPropagateSelectionDown
public boolean isPropagateSelectionDown()
setPropagateSelectionDown
public void setPropagateSelectionDown(boolean _propagateSelectionDown)
getDir
public String getDir()
setDir
public void setDir(String _dir)
isDraggable
public boolean isDraggable()
setDraggable
public void setDraggable(boolean _draggable)
isDroppable
public boolean isDroppable()
setDroppable
public void setDroppable(boolean _droppable)
getDragdropScope
public String getDragdropScope()
setDragdropScope
public void setDragdropScope(String _dragdropScope)
getDragMode
public String getDragMode()
setDragMode
public void setDragMode(String _dragMode)
getDropRestrict
public String getDropRestrict()
setDropRestrict
public void setDropRestrict(String _dropRestrict)
getUITreeNodeByType
public UITreeNode getUITreeNodeByType(String type)
isNodeExpandRequest
public boolean isNodeExpandRequest(javax.faces.context.FacesContext context)
isSelectionRequest
public boolean isSelectionRequest(javax.faces.context.FacesContext context)
getTreeNodes
public Map<String,UITreeNode> getTreeNodes()
getEventNames
public Collection<String> getEventNames()
- Specified by:
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
- Overrides:
getEventNames
in class javax.faces.component.UIComponentBase
queueEvent
public void queueEvent(javax.faces.event.FacesEvent event)
- Overrides:
queueEvent
in class UITree
isDragDropRequest
public boolean isDragDropRequest(javax.faces.context.FacesContext context)
processDecodes
public void processDecodes(javax.faces.context.FacesContext context)
- Overrides:
processDecodes
in class UITree
processValidators
public void processValidators(javax.faces.context.FacesContext context)
- Overrides:
processValidators
in class UITree
processUpdates
public void processUpdates(javax.faces.context.FacesContext context)
- Overrides:
processUpdates
in class UITree
isCheckboxSelection
public boolean isCheckboxSelection()
isRTL
public boolean isRTL()
- Specified by:
isRTL
in interface RTLAware
resolveWidgetVar
public String resolveWidgetVar()
- Specified by:
resolveWidgetVar
in interface Widget
Copyright © 2013. All rights reserved.