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

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.AbstractUITreeData
All Implemented Interfaces:
javax.faces.component.EditableValueHolder, javax.faces.component.NamingContainer, javax.faces.component.StateHolder, javax.faces.component.ValueHolder, TreeModelBuilder
Direct Known Subclasses:
UITreeData

public abstract class AbstractUITreeData
extends javax.faces.component.UIInput
implements javax.faces.component.NamingContainer, TreeModelBuilder


Field Summary
static String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIInput
COMPONENT_FAMILY, 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
AbstractUITreeData()
           
 
Method Summary
 void broadcast(javax.faces.event.FacesEvent event)
           
 void buildTreeModelBegin(javax.faces.context.FacesContext facesContext, MixedTreeModel model)
           
 void buildTreeModelChildren(javax.faces.context.FacesContext facesContext, MixedTreeModel model)
           
 void buildTreeModelEnd(javax.faces.context.FacesContext facesContext, MixedTreeModel model)
           
 void buildTreeModelNodes(javax.faces.context.FacesContext facesContext, MixedTreeModel model, DefaultMutableTreeNode node, TreePath position)
           
 void buildTreeModelNodes(javax.faces.context.FacesContext facesContext, MixedTreeModel model, Node node, TreePath position)
           
 void decode(javax.faces.context.FacesContext facesContext)
           
 void encodeChildren(javax.faces.context.FacesContext context)
           
 void encodeEnd(javax.faces.context.FacesContext facesContext)
           
 javax.faces.component.UIComponent findComponent(String searchId)
           
 String getClientId(javax.faces.context.FacesContext context)
           
 DefaultMutableTreeNode getCurrentNode()
           
 Object getMarker()
           
 boolean getRendersChildren()
           
 TreePath getRowIndex()
           
 AbstractUITreeNode getTemplateComponent()
           
 String getVar()
           
 boolean invokeOnComponent(javax.faces.context.FacesContext facesContext, String clientId, javax.faces.component.ContextCallback callback)
           
 void processDecodes(javax.faces.context.FacesContext facesContext)
           
 void processUpdates(javax.faces.context.FacesContext facesContext)
           
 void processValidators(javax.faces.context.FacesContext facesContext)
           
 void queueEvent(javax.faces.event.FacesEvent event)
           
 void restoreState(javax.faces.context.FacesContext context, Object state)
           
 Object saveState(javax.faces.context.FacesContext context)
           
 void setCurrentNode(DefaultMutableTreeNode currentNode)
           
 void setVar(String var)
           
 void updateModel(javax.faces.context.FacesContext facesContext)
           
 
Methods inherited from class javax.faces.component.UIInput
addValidator, addValueChangeListener, compareValues, getConvertedValue, getConverterMessage, getFamily, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, removeValidator, removeValueChangeListener, resetValue, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, 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, getAttributes, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, 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 javax.faces.component.ValueHolder
getConverter, getLocalValue, setConverter
 

Field Detail

COMPONENT_TYPE

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

AbstractUITreeData

public AbstractUITreeData()
Method Detail

processDecodes

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

decode

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

processValidators

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

processUpdates

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

getRowIndex

public TreePath getRowIndex()

buildTreeModelBegin

public void buildTreeModelBegin(javax.faces.context.FacesContext facesContext,
                                MixedTreeModel model)
Specified by:
buildTreeModelBegin in interface TreeModelBuilder

buildTreeModelChildren

public void buildTreeModelChildren(javax.faces.context.FacesContext facesContext,
                                   MixedTreeModel model)
Specified by:
buildTreeModelChildren in interface TreeModelBuilder

buildTreeModelEnd

public void buildTreeModelEnd(javax.faces.context.FacesContext facesContext,
                              MixedTreeModel model)
Specified by:
buildTreeModelEnd in interface TreeModelBuilder

buildTreeModelNodes

public void buildTreeModelNodes(javax.faces.context.FacesContext facesContext,
                                MixedTreeModel model,
                                Node node,
                                TreePath position)

buildTreeModelNodes

public void buildTreeModelNodes(javax.faces.context.FacesContext facesContext,
                                MixedTreeModel model,
                                DefaultMutableTreeNode node,
                                TreePath position)

encodeChildren

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

encodeEnd

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

getRendersChildren

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

updateModel

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

getTemplateComponent

public AbstractUITreeNode getTemplateComponent()

getClientId

public String getClientId(javax.faces.context.FacesContext context)
Overrides:
getClientId in class javax.faces.component.UIComponentBase

findComponent

public javax.faces.component.UIComponent findComponent(String searchId)
Overrides:
findComponent in class javax.faces.component.UIComponentBase

queueEvent

public void queueEvent(javax.faces.event.FacesEvent event)
Overrides:
queueEvent in class javax.faces.component.UIComponentBase

broadcast

public void broadcast(javax.faces.event.FacesEvent event)
               throws javax.faces.event.AbortProcessingException
Overrides:
broadcast in class javax.faces.component.UIInput
Throws:
javax.faces.event.AbortProcessingException

invokeOnComponent

public boolean invokeOnComponent(javax.faces.context.FacesContext facesContext,
                                 String clientId,
                                 javax.faces.component.ContextCallback callback)
                          throws javax.faces.FacesException
Overrides:
invokeOnComponent in class javax.faces.component.UIComponentBase
Throws:
javax.faces.FacesException

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.UIInput

restoreState

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

getVar

public String getVar()

setVar

public void setVar(String var)

getCurrentNode

public DefaultMutableTreeNode getCurrentNode()

setCurrentNode

public void setCurrentNode(DefaultMutableTreeNode currentNode)

getMarker

public Object getMarker()


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