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.UIOutput
              extended by javax.faces.component.UIInput
                  extended by org.apache.myfaces.tobago.internal.component.AbstractUITree
All Implemented Interfaces:
javax.faces.component.EditableValueHolder, javax.faces.component.NamingContainer, javax.faces.component.StateHolder, javax.faces.component.ValueHolder, Configurable, LayoutBase, LayoutComponent
Direct Known Subclasses:
UITree, UITreeListbox, UITreeMenu

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


Field Summary
static String MARKED
           
static String MESSAGE_NOT_LEAF
           
static String SELECT_STATE
           
static String SEP
           
 
Fields inherited from class javax.faces.component.UIInput
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
AbstractUITree()
           
 
Method Summary
 void encodeEnd(javax.faces.context.FacesContext facesContext)
           
 Set<String> getExpandedCache()
           
 MixedTreeModel getModel()
           
 boolean getRendersChildren()
           
 javax.faces.component.UIComponent getRoot()
           
 TreeSelectable getSelectableAsEnum()
          Will be obsolete later when selectable has the type TreeSelectable.
abstract  Object getState()
           
 void processDecodes(javax.faces.context.FacesContext facesContext)
           
 void updateModel(javax.faces.context.FacesContext facesContext)
           
 void validate(javax.faces.context.FacesContext context)
           
 
Methods inherited from class javax.faces.component.UIInput
addValidator, addValueChangeListener, broadcast, compareValues, decode, getConvertedValue, getConverterMessage, getFamily, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, validateValue
 
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, setConverter
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, encodeBegin, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
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
 
Methods inherited from interface javax.faces.component.ValueHolder
getConverter, getLocalValue, setConverter
 

Field Detail

MESSAGE_NOT_LEAF

public static final String MESSAGE_NOT_LEAF
See Also:
Constant Field Values

SEP

public static final String SEP
See Also:
Constant Field Values

SELECT_STATE

public static final String SELECT_STATE
See Also:
Constant Field Values

MARKED

public static final String MARKED
See Also:
Constant Field Values
Constructor Detail

AbstractUITree

public AbstractUITree()
Method Detail

getRoot

public javax.faces.component.UIComponent getRoot()

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext facesContext)
               throws IOException
Overrides:
encodeEnd in class javax.faces.component.UIComponentBase
Throws:
IOException

getModel

public MixedTreeModel getModel()

getExpandedCache

public Set<String> getExpandedCache()

getRendersChildren

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

getSelectableAsEnum

public TreeSelectable getSelectableAsEnum()
Will be obsolete later when selectable has the type TreeSelectable.


processDecodes

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

validate

public void validate(javax.faces.context.FacesContext context)
Overrides:
validate in class javax.faces.component.UIInput

updateModel

public void updateModel(javax.faces.context.FacesContext facesContext)
Overrides:
updateModel in class javax.faces.component.UIInput

getState

public abstract Object getState()


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