org.apache.myfaces.tobago.component
Class UITreeNode

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.UITreeNode
All Implemented Interfaces:
EditableValueHolder, StateHolder, ValueHolder

public class UITreeNode
extends UIInput


Field Summary
 
Fields inherited from class javax.faces.component.UIInput
COMPONENT_FAMILY, COMPONENT_TYPE, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID
 
Constructor Summary
  UITreeNode()
           
protected UITreeNode(UIComponent parent, int index)
           
 
Method Summary
protected  Object checkValue(Object currentValue)
           
protected  void createTreeNodes()
           
protected  Object emergencyValue()
           
 UITree findTreeRoot()
           
 boolean getRendersChildren()
           
 String getSubReference()
           
 DefaultMutableTreeNode getTreeNode()
           
 Object getValue()
           
 void updateModel(FacesContext facesContext)
           
 
Methods inherited from class javax.faces.component.UIInput
addValidator, addValueChangeListener, broadcast, compareValues, decode, getConvertedValue, getFamily, getSubmittedValue, getValidator, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, restoreState, saveState, setImmediate, setLocalValueSet, setRequired, setSubmittedValue, setValid, setValidator, setValue, setValueChangeListener, validate, validateValue
 
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, setConverter
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, encodeBegin, encodeChildren, encodeEnd, 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, setConverter
 

Constructor Detail

UITreeNode

protected UITreeNode(UIComponent parent,
                     int index)

UITreeNode

public UITreeNode()
Method Detail

getRendersChildren

public boolean getRendersChildren()
Overrides:
getRendersChildren in class UIComponentBase

getSubReference

public String getSubReference()

getTreeNode

public DefaultMutableTreeNode getTreeNode()

getValue

public Object getValue()
Specified by:
getValue in interface ValueHolder
Overrides:
getValue in class UIOutput

createTreeNodes

protected void createTreeNodes()

findTreeRoot

public UITree findTreeRoot()

updateModel

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

checkValue

protected Object checkValue(Object currentValue)

emergencyValue

protected Object emergencyValue()


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