org.apache.myfaces.tobago.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.component.AbstractUITree
All Implemented Interfaces:
EditableValueHolder, NamingContainer, StateHolder, ValueHolder

public abstract class AbstractUITree
extends UIInput
implements NamingContainer


Nested Class Summary
static class AbstractUITree.Command
           
 
Field Summary
static String COMPONENT_TYPE
           
static String FACET_TREE_NODE_COMMAND
           
static String MARKER
           
static String MESSAGE_NOT_LEAF
           
static String PARAMETER_TREE_NODE_ID
           
static String SELECT_STATE
           
static String SEP
           
static String TREE_STATE
           
 
Fields inherited from class javax.faces.component.UIInput
COMPONENT_FAMILY, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
AbstractUITree()
           
 
Method Summary
 void encodeEnd(FacesContext context)
           
abstract  String getMode()
           
 MixedTreeModel getModel()
           
 boolean getRendersChildren()
           
 UIComponent getRoot()
           
 boolean isSelectableTree()
           
abstract  boolean isShowIcons()
           
abstract  boolean isShowJunctions()
           
abstract  boolean isShowRoot()
           
abstract  boolean isShowRootJunction()
           
 void processDecodes(FacesContext facesContext)
           
 void updateModel(FacesContext facesContext)
           
 void validate(FacesContext context)
           
 
Methods inherited from class javax.faces.component.UIInput
addValidator, addValueChangeListener, broadcast, compareValues, decode, getConvertedValue, getFamily, getSubmittedValue, getValidator, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processUpdates, processValidators, removeValidator, removeValueChangeListener, restoreState, saveState, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, validateValue
 
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, getValue, setConverter
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, encodeBegin, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
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.ValueHolder
getConverter, getLocalValue, getValue, setConverter
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

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

TREE_STATE

public static final String TREE_STATE
See Also:
Constant Field Values

SELECT_STATE

public static final String SELECT_STATE
See Also:
Constant Field Values

MARKER

public static final String MARKER
See Also:
Constant Field Values

FACET_TREE_NODE_COMMAND

public static final String FACET_TREE_NODE_COMMAND
See Also:
Constant Field Values

PARAMETER_TREE_NODE_ID

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

AbstractUITree

public AbstractUITree()
Method Detail

getRoot

public UIComponent getRoot()

encodeEnd

public void encodeEnd(FacesContext context)
               throws IOException
Overrides:
encodeEnd in class UIComponentBase
Throws:
IOException

getRendersChildren

public boolean getRendersChildren()
Overrides:
getRendersChildren in class UIComponentBase

isSelectableTree

public boolean isSelectableTree()

processDecodes

public void processDecodes(FacesContext facesContext)
Overrides:
processDecodes in class UIInput

validate

public void validate(FacesContext context)
Overrides:
validate in class UIInput

updateModel

public void updateModel(FacesContext facesContext)
Overrides:
updateModel in class UIInput

getMode

public abstract String getMode()

isShowIcons

public abstract boolean isShowIcons()

isShowJunctions

public abstract boolean isShowJunctions()

isShowRootJunction

public abstract boolean isShowRootJunction()

isShowRoot

public abstract boolean isShowRoot()

getModel

public MixedTreeModel getModel()


Copyright © 2002-2008 Apache Software Foundation. All Rights Reserved.