org.openfaces.component.table
Class TreeStructure

java.lang.Object
  extended by UIComponentBase
      extended by org.openfaces.component.table.TreeStructure
Direct Known Subclasses:
DynamicTreeStructure, StaticTreeStructure

public abstract class TreeStructure
extends UIComponentBase

A base class for all kinds of tree structure implementations. It defines a common interface that all tree structures can be queried with.

There can be any number of nodes on the top level. Each node has the following attributes:


Method Summary
abstract  int getLevel()
           
abstract  int getNodeCount()
           
abstract  java.lang.Object getNodeData()
           
abstract  boolean getNodeHasChildren()
           
abstract  int getNodeIndex()
           
abstract  java.lang.Object getNodeKey()
           
abstract  void goToChildLevel()
           
abstract  void goToParentLevel()
           
abstract  void goToTopLevel()
           
abstract  boolean isNodeAvailable()
           
abstract  void setNodeIndex(int curentNodeIndex)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLevel

public abstract int getLevel()

goToTopLevel

public abstract void goToTopLevel()

goToChildLevel

public abstract void goToChildLevel()

goToParentLevel

public abstract void goToParentLevel()

getNodeCount

public abstract int getNodeCount()

setNodeIndex

public abstract void setNodeIndex(int curentNodeIndex)

getNodeIndex

public abstract int getNodeIndex()

isNodeAvailable

public abstract boolean isNodeAvailable()

getNodeKey

public abstract java.lang.Object getNodeKey()

getNodeData

public abstract java.lang.Object getNodeData()

getNodeHasChildren

public abstract boolean getNodeHasChildren()


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