Package org.primefaces.component.tree
Class TreeBase
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- org.primefaces.component.api.UITree
-
- org.primefaces.component.tree.TreeBase
-
- 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,PrimeClientBehaviorHolder,RTLAware,Widget
- Direct Known Subclasses:
Tree
public abstract class TreeBase extends UITree implements Widget, RTLAware, javax.faces.component.behavior.ClientBehaviorHolder, PrimeClientBehaviorHolder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTreeBase.PropertyKeys
-
Field Summary
Fields Modifier and Type Field Description static StringCOMPONENT_FAMILYstatic StringDEFAULT_RENDERER-
Fields inherited from class org.primefaces.component.api.UITree
CHECKBOX_CLASS, REQUIRED_MESSAGE_ID, ROOT_ROW_KEY, SEPARATOR
-
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 org.primefaces.component.api.Widget
ATTR_WIDGET_VAR_PATTERN, CALLBACK_POST_CONSTRUCT, CALLBACK_POST_REFRESH, CALLBACK_PRE_DESTROY
-
-
Constructor Summary
Constructors Constructor Description TreeBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetDatakey()StringgetDir()StringgetDragdropScope()StringgetDragMode()StringgetDropRestrict()StringgetFamily()ObjectgetFilterBy()StringgetFilterMatchMode()StringgetFilterMode()javax.el.MethodExpressiongetOnDrop()StringgetOnNodeClick()StringgetOrientation()StringgetStyle()StringgetStyleClass()intgetTabindex()StringgetWidgetVar()booleanisAnimate()booleanisCache()booleanisDisabled()booleanisDraggable()booleanisDropCopyNode()booleanisDroppable()booleanisDynamic()booleanisHighlight()booleanisMultipleDrag()voidsetAnimate(boolean animate)voidsetCache(boolean cache)voidsetDatakey(Object datakey)voidsetDir(String dir)voidsetDisabled(boolean disabled)voidsetDragdropScope(String dragdropScope)voidsetDraggable(boolean draggable)voidsetDragMode(String dragMode)voidsetDropCopyNode(boolean dropCopyNode)voidsetDroppable(boolean droppable)voidsetDropRestrict(String dropRestrict)voidsetDynamic(boolean dynamic)voidsetFilterBy(Object filterBy)voidsetFilterMatchMode(String filterMatchMode)voidsetFilterMode(String filterMode)voidsetHighlight(boolean highlight)voidsetMultipleDrag(boolean multipleDrag)voidsetOnDrop(javax.el.MethodExpression onDrop)voidsetOnNodeClick(String onNodeClick)voidsetOrientation(String orientation)voidsetStyle(String style)voidsetStyleClass(String styleClass)voidsetTabindex(int tabindex)voidsetWidgetVar(String widgetVar)-
Methods inherited from class org.primefaces.component.api.UITree
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, processColumnChildren, processColumnFacets, processComponent, processDecodes, processFacets, processNode, processNodes, processUpdates, processValidators, queueEvent, refreshSelectedNodeKeys, requiresColumns, setNodeVar, setPropagateSelectionDown, setPropagateSelectionUp, setRequired, setRequiredMessage, setRowKey, setRowKey, setRTLRendering, setSelection, setSelectionMode, setShowUnselectableCheckbox, setSkipChildren, setValue, setVar, shouldVisitNode, updateRowKeys, updateSelection, validateSelection, visitColumnContent, visitColumnFacets, visitColumnGroup, visitColumnsAndColumnFacets, visitFacets, visitNode, visitNodes, visitTree
-
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, 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, getEventNames
-
Methods inherited from interface org.primefaces.component.api.PrimeClientBehaviorHolder
getBehaviorEventMapping
-
Methods inherited from interface org.primefaces.component.api.Widget
resolveWidgetVar, resolveWidgetVar
-
-
-
-
Field Detail
-
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
-
DEFAULT_RENDERER
public static final String DEFAULT_RENDERER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFamily
public String getFamily()
- Specified by:
getFamilyin classjavax.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)
-
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)
-
getTabindex
public int getTabindex()
-
setTabindex
public void setTabindex(int tabindex)
-
getFilterBy
public Object getFilterBy()
-
setFilterBy
public void setFilterBy(Object filterBy)
-
getFilterMatchMode
public String getFilterMatchMode()
-
setFilterMatchMode
public void setFilterMatchMode(String filterMatchMode)
-
isDisabled
public boolean isDisabled()
-
setDisabled
public void setDisabled(boolean disabled)
-
isMultipleDrag
public boolean isMultipleDrag()
-
setMultipleDrag
public void setMultipleDrag(boolean multipleDrag)
-
isDropCopyNode
public boolean isDropCopyNode()
-
setDropCopyNode
public void setDropCopyNode(boolean dropCopyNode)
-
getOnDrop
public javax.el.MethodExpression getOnDrop()
-
setOnDrop
public void setOnDrop(javax.el.MethodExpression onDrop)
-
getFilterMode
public String getFilterMode()
-
setFilterMode
public void setFilterMode(String filterMode)
-
-