org.openfaces.component.table
Class DynamicTreeStructure

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.openfaces.component.table.TreeStructure
              extended by org.openfaces.component.table.DynamicTreeStructure
All Implemented Interfaces:
java.util.EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder

public class DynamicTreeStructure
extends TreeStructure


Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
Constructor Summary
DynamicTreeStructure()
           
 
Method Summary
 java.lang.String getFamily()
           
 int getLevel()
           
 javax.el.ValueExpression getNodeChildrenExpression()
           
 int getNodeCount()
           
 java.lang.Object getNodeData()
           
 boolean getNodeHasChildren()
           
 javax.el.ValueExpression getNodeHasChildrenExpression()
           
 int getNodeIndex()
           
 java.lang.Object getNodeKey()
           
 javax.el.ValueExpression getNodeKeyExpression()
           
 void goToChildLevel()
           
 void goToParentLevel()
           
 void goToTopLevel()
           
 boolean isNodeAvailable()
           
 void setNodeIndex(int nodeIndex)
           
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getValueExpression, initialStateMarked, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent, visitTree
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

DynamicTreeStructure

public DynamicTreeStructure()
Method Detail

getFamily

public java.lang.String getFamily()
Specified by:
getFamily in class javax.faces.component.UIComponent

getNodeChildrenExpression

public javax.el.ValueExpression getNodeChildrenExpression()

getNodeHasChildrenExpression

public javax.el.ValueExpression getNodeHasChildrenExpression()

getNodeKeyExpression

public javax.el.ValueExpression getNodeKeyExpression()

getLevel

public int getLevel()
Specified by:
getLevel in class TreeStructure

goToTopLevel

public void goToTopLevel()
Specified by:
goToTopLevel in class TreeStructure

goToChildLevel

public void goToChildLevel()
Specified by:
goToChildLevel in class TreeStructure

goToParentLevel

public void goToParentLevel()
Specified by:
goToParentLevel in class TreeStructure

getNodeCount

public int getNodeCount()
Specified by:
getNodeCount in class TreeStructure

setNodeIndex

public void setNodeIndex(int nodeIndex)
Specified by:
setNodeIndex in class TreeStructure

getNodeIndex

public int getNodeIndex()
Specified by:
getNodeIndex in class TreeStructure

isNodeAvailable

public boolean isNodeAvailable()
Specified by:
isNodeAvailable in class TreeStructure

getNodeData

public java.lang.Object getNodeData()
Specified by:
getNodeData in class TreeStructure

getNodeKey

public java.lang.Object getNodeKey()
Specified by:
getNodeKey in class TreeStructure

getNodeHasChildren

public boolean getNodeHasChildren()
Specified by:
getNodeHasChildren in class TreeStructure


Copyright © 1998-2010 TeamDev Ltd. All Rights Reserved.