JavaTM 2 Platform
Std. Ed. v1.3.1

Uses of Interface
javax.swing.tree.TreeModel

Packages that use TreeModel
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look-and-feel. 
javax.swing.tree Provides classes and interfaces for dealing with javax.swing.JTree. 
 

Uses of TreeModel in javax.swing
 

Fields in javax.swing declared as TreeModel
protected  TreeModel JTree.treeModel
          The model that defines the tree displayed by this object.
 

Methods in javax.swing that return TreeModel
protected static TreeModel JTree.getDefaultTreeModel()
          Creates and returns a sample TreeModel.
protected static TreeModel JTree.createTreeModel(Object value)
          Returns a TreeModel wrapping the specified object.
 TreeModel JTree.getModel()
          Returns the TreeModel that is providing the data.
 

Methods in javax.swing with parameters of type TreeModel
 void JTree.setModel(TreeModel newModel)
          Sets the TreeModel that will provide the data.
 

Constructors in javax.swing with parameters of type TreeModel
JTree(TreeModel newModel)
          Returns an instance of JTree which displays the root node -- the tree is created using the specified data model.
 

Uses of TreeModel in javax.swing.plaf.basic
 

Fields in javax.swing.plaf.basic declared as TreeModel
protected  TreeModel BasicTreeUI.treeModel
          Used to determine what to display.
 

Methods in javax.swing.plaf.basic that return TreeModel
protected  TreeModel BasicTreeUI.getModel()
           
 

Methods in javax.swing.plaf.basic with parameters of type TreeModel
protected  void BasicTreeUI.setModel(TreeModel model)
          Sets the TreeModel.
 

Uses of TreeModel in javax.swing.tree
 

Classes in javax.swing.tree that implement TreeModel
 class DefaultTreeModel
          A simple tree data model that uses TreeNodes.
 

Fields in javax.swing.tree declared as TreeModel
protected  TreeModel AbstractLayoutCache.treeModel
          Model providing information.
 

Methods in javax.swing.tree that return TreeModel
 TreeModel AbstractLayoutCache.getModel()
          Returns the TreeModel that is providing the data.
 

Methods in javax.swing.tree with parameters of type TreeModel
 void AbstractLayoutCache.setModel(TreeModel newModel)
          Sets the TreeModel that will provide the data.
 void VariableHeightLayoutCache.setModel(TreeModel newModel)
          Sets the TreeModel that will provide the data.
 void FixedHeightLayoutCache.setModel(TreeModel newModel)
          Sets the TreeModel that will provide the data.
 


JavaTM 2 Platform
Std. Ed. v1.3.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.