org.apache.myfaces.tobago.internal.component
Class AbstractUITree

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIData
              extended by org.apache.myfaces.tobago.internal.component.AbstractUIData
                  extended by org.apache.myfaces.tobago.internal.component.AbstractUITree
All Implemented Interfaces:
EventListener, javax.faces.component.NamingContainer, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.UniqueIdVendor, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, Configurable, LayoutBase, LayoutComponent
Direct Known Subclasses:
AbstractUITreeListbox, UITree, UITreeMenu

public abstract class AbstractUITree
extends AbstractUIData
implements javax.faces.component.NamingContainer, LayoutComponent


Field Summary
static String MARKED
          Deprecated. since 2.0.0
static String MESSAGE_NOT_LEAF
           
static String SELECT_STATE
          Deprecated. since 2.0.0
static String SEP
          Deprecated. since 2.0.0
 
Fields inherited from class org.apache.myfaces.tobago.internal.component.AbstractUIData
SUFFIX_EXPANDED, SUFFIX_MARKED, SUFFIX_SELECTED
 
Fields inherited from class javax.faces.component.UIData
COMPONENT_FAMILY, COMPONENT_TYPE
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
AbstractUITree()
           
 
Method Summary
 ExpandedState getExpandedState()
           
 MixedTreeModel getModel()
          Deprecated. Since 2.0.0.
 boolean getRendersChildren()
           
 javax.faces.component.UIComponent getRoot()
          Deprecated. since 2.0.0
 SelectedState getSelectedState()
           
 TreeState getState()
           
 void processDecodes(javax.faces.context.FacesContext facesContext)
           
 void processUpdates(javax.faces.context.FacesContext facesContext)
           
 void processValidators(javax.faces.context.FacesContext facesContext)
           
 void restoreState(javax.faces.context.FacesContext context, Object componentState)
           
 Object saveState(javax.faces.context.FacesContext context)
           
 void setState(TreeState state)
           
 
Methods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUIData
createTreeDataModel, encodeBegin, getDataModel, getPath, getRowClientId, getRowIndicesOfChildren, getRowParentClientId, getSelectableAsEnum, getTreeDataModel, hasRows, invokeOnComponent, isFolder, isRendersRowContainer, isRowsUnlimited, isRowVisible, isShowRoot, isShowRootJunction, isTreeModel
 
Methods inherited from class javax.faces.component.UIData
broadcast, createUniqueId, encodeEnd, getContainerClientId, getFamily, getFirst, getFooter, getHeader, getRowCount, getRowData, getRowIndex, getRows, getValue, getVar, isRowAvailable, queueEvent, setDataModel, setFirst, setFooter, setHeader, setRowIndex, setRows, setValue, setValueExpression, setVar, visitTree
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeAll, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, initialStateMarked, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.myfaces.tobago.layout.LayoutComponent
getColumnSpan, getDisplay, getHorizontalIndex, getRowSpan, getVerticalIndex, isRendered, setColumnSpan, setDisplay, setHorizontalIndex, setRowSpan, setVerticalIndex
 
Methods inherited from interface org.apache.myfaces.tobago.layout.LayoutBase
getCurrentHeight, getCurrentWidth, getHeight, getLeft, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaximumHeight, getMaximumWidth, getMinimumHeight, getMinimumWidth, getPreferredHeight, getPreferredWidth, getTop, getWidth, setCurrentHeight, setCurrentWidth, setHeight, setLeft, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaximumHeight, setMaximumWidth, setMinimumHeight, setMinimumWidth, setPreferredHeight, setPreferredWidth, setTop, setWidth
 
Methods inherited from interface org.apache.myfaces.tobago.config.Configurable
getCurrentMarkup, getRendererType
 

Field Detail

MESSAGE_NOT_LEAF

public static final String MESSAGE_NOT_LEAF
See Also:
Constant Field Values

SEP

@Deprecated
public static final String SEP
Deprecated. since 2.0.0
See Also:
Constant Field Values

SELECT_STATE

@Deprecated
public static final String SELECT_STATE
Deprecated. since 2.0.0
See Also:
Constant Field Values

MARKED

@Deprecated
public static final String MARKED
Deprecated. since 2.0.0
See Also:
Constant Field Values
Constructor Detail

AbstractUITree

public AbstractUITree()
Method Detail

processValidators

public void processValidators(javax.faces.context.FacesContext facesContext)
Overrides:
processValidators in class javax.faces.component.UIData

processUpdates

public void processUpdates(javax.faces.context.FacesContext facesContext)
Overrides:
processUpdates in class javax.faces.component.UIData

getRoot

@Deprecated
public javax.faces.component.UIComponent getRoot()
Deprecated. since 2.0.0


getModel

@Deprecated
public MixedTreeModel getModel()
Deprecated. Since 2.0.0.


getRendersChildren

public boolean getRendersChildren()
Overrides:
getRendersChildren in class javax.faces.component.UIComponentBase

processDecodes

public void processDecodes(javax.faces.context.FacesContext facesContext)
Overrides:
processDecodes in class javax.faces.component.UIData

setState

public void setState(TreeState state)

getState

public TreeState getState()

getSelectedState

public SelectedState getSelectedState()
Specified by:
getSelectedState in class AbstractUIData

getExpandedState

public ExpandedState getExpandedState()
Specified by:
getExpandedState in class AbstractUIData

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         Object componentState)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class javax.faces.component.UIComponentBase

saveState

public Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class javax.faces.component.UIComponentBase


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.