All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Tree.DefaultTreeModel

java.lang.Object
   |
   +----Tree.DefaultTreeModel

public class DefaultTreeModel
extends Object
This class provides a default tree model. In order to be compatible with the largest possible number of browsers we can't use Swing, since it is Java 1.1+. However, to ease any future upgrading, we have created this class to mirror that of a Swing class. It's methods are a subset of those in the Swing class.


Variable Index

 o root

Constructor Index

 o DefaultTreeModel(DefaultMutableTreeNode)

Method Index

 o getRoot()
 o setRoot(DefaultMutableTreeNode)

Variables

 o root
 protected DefaultMutableTreeNode root

Constructors

 o DefaultTreeModel
 public DefaultTreeModel(DefaultMutableTreeNode root)

Methods

 o getRoot
 public DefaultMutableTreeNode getRoot()
 o setRoot
 public void setRoot(DefaultMutableTreeNode root)

All Packages  Class Hierarchy  This Package  Previous  Next  Index