kiwi.ui.model
Interface ITreeNode

All Known Implementing Classes:
StaticTreeModel.TreeNode

public abstract interface ITreeNode

A wrapper for objects in a hierarchical data structure.

Version:
1.0 (05/98)
Author:
Mark Lindner, PING Software Group

Method Summary
 Object getObject()
          Get the user object associated with this node.
 ITreeNode getParent()
          Get the parent node for this node.
 boolean isExpandable()
          Determine if this node is expandable.
 boolean isExpanded()
          Determine if the node is currently expanded in the tree.
 boolean isRoot()
          Determine if this node is the root of the tree.
 

Method Detail

isExpanded

public boolean isExpanded()
Determine if the node is currently expanded in the tree.

getObject

public Object getObject()
Get the user object associated with this node.

isRoot

public boolean isRoot()
Determine if this node is the root of the tree.

isExpandable

public boolean isExpandable()
Determine if this node is expandable.

getParent

public ITreeNode getParent()
Get the parent node for this node.