Class TreeExtension

  • 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, org.primefaces.component.api.PrimeClientBehaviorHolder, org.primefaces.component.api.RTLAware, org.primefaces.component.api.Widget

    public class TreeExtension
    extends org.primefaces.component.tree.Tree
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.primefaces.component.tree.TreeBase

        org.primefaces.component.tree.TreeBase.PropertyKeys
    • Field Summary

      • Fields inherited from class org.primefaces.component.tree.Tree

        CHILDREN_NODES_CLASS, COLLAPSED_ICON_CLASS_H, COLLAPSED_ICON_CLASS_V, COLLAPSED_ICON_RTL_CLASS_V, COMPONENT_TYPE, CONTAINER_CLASS, CONTAINER_RTL_CLASS, EXPANDED_ICON_CLASS_H, EXPANDED_ICON_CLASS_V, FILTER_CLASS, FILTER_CONTAINER, HORIZONTAL_CONTAINER_CLASS, LEAF_ICON_CLASS, LEAF_NODE_CLASS, NODE_CONTENT_CLASS_H, NODE_CONTENT_CLASS_V, NODE_ICON_CLASS, NODE_LABEL_CLASS, PARENT_NODE_CLASS, ROOT_NODES_CLASS, SELECTABLE_NODE_CONTENT_CLASS_H, SELECTABLE_NODE_CONTENT_CLASS_V
      • Fields inherited from class org.primefaces.component.tree.TreeBase

        COMPONENT_FAMILY, DEFAULT_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 javax.faces.component.NamingContainer

        SEPARATOR_CHAR
      • 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
      TreeExtension()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean visitNode​(javax.faces.component.visit.VisitContext context, org.primefaces.util.Lazy<org.primefaces.model.TreeNode> root, javax.faces.component.visit.VisitCallback callback, org.primefaces.model.TreeNode treeNode, String rowKey)  
      • Methods inherited from class org.primefaces.component.tree.Tree

        createCopyOfTreeNode, getBehaviorEventMapping, getEventNames, getFilteredRowKeys, getScrollState, getTreeNodes, getUITreeNodeByType, isDragDropRequest, isFiltering, isFilterRequest, isNodeExpandRequest, isSelectionRequest, isTreeNodeDropped, processColumnChildren, processDecodes, processUpdates, processValidators, queueEvent, saveState, setFilteredRowKeys, shouldVisitNode
      • Methods inherited from class org.primefaces.component.tree.TreeBase

        getDatakey, getDir, getDragdropScope, getDragMode, getDropRestrict, getFamily, getFilterBy, getFilterFunction, getFilterMatchMode, getFilterMode, getOnDrop, getOnNodeClick, getOrientation, getStyle, getStyleClass, getTabindex, getWidgetVar, isAnimate, isCache, isDisabled, isDraggable, isDropCopyNode, isDroppable, isDynamic, isHighlight, isMultipleDrag, setAnimate, setCache, setDatakey, setDir, setDisabled, setDragdropScope, setDraggable, setDragMode, setDropCopyNode, setDroppable, setDropRestrict, setDynamic, setFilterBy, setFilterFunction, setFilterMatchMode, setFilterMode, setHighlight, setMultipleDrag, setOnDrop, setOnNodeClick, setOrientation, setStyle, setStyleClass, setTabindex, setWidgetVar
      • Methods inherited from class org.primefaces.component.api.UITree

        broadcast, buildRowKeys, doVisitChildren, encodeBegin, findTreeNode, getContainerClientId, getLocalSelectedNodes, getNodeVar, getRequiredMessage, getRowKey, getRowNode, getSelectedRowKeysAsString, getSelection, getSelectionMode, getSelectionType, getValue, getVar, initPreselection, invokeOnComponent, isCheckboxSelectionMode, isMultipleSelectionMode, isPropagateSelectionDown, isPropagateSelectionUp, isRequired, isRTLRendering, isSelectionEnabled, isShowUnselectableCheckbox, isSkipChildren, populateRowKeys, preDecode, preEncode, preUpdate, preValidate, processColumnFacets, processComponent, processFacets, processNode, processNodes, refreshSelectedNodeKeys, requiresColumns, setNodeVar, setPropagateSelectionDown, setPropagateSelectionUp, setRequired, setRequiredMessage, setRowKey, setRowKey, setRowKey, setRowKey, setRTLRendering, setSelection, setSelectionMode, setShowUnselectableCheckbox, setSkipChildren, setValue, setVar, updateRowKeys, updateSelection, validateSelection, visitColumnContent, visitColumnFacets, visitColumnGroup, visitColumnsAndColumnFacets, visitFacets, visitNodes, visitTree
      • Methods inherited from class javax.faces.component.UIComponentBase

        addClientBehavior, addFacesListener, clearInitialState, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, 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 interface javax.faces.component.behavior.ClientBehaviorHolder

        addClientBehavior, getClientBehaviors, getDefaultEventName
      • Methods inherited from interface org.primefaces.component.api.RTLAware

        isRTL
      • Methods inherited from interface org.primefaces.component.api.Widget

        resolveWidgetVar, resolveWidgetVar
    • Constructor Detail

      • TreeExtension

        public TreeExtension()
    • Method Detail

      • visitNode

        protected boolean visitNode​(javax.faces.component.visit.VisitContext context,
                                    org.primefaces.util.Lazy<org.primefaces.model.TreeNode> root,
                                    javax.faces.component.visit.VisitCallback callback,
                                    org.primefaces.model.TreeNode treeNode,
                                    String rowKey)
        Overrides:
        visitNode in class org.primefaces.component.api.UITree