Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-209 (Final Approval Ballot)

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.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(java.lang.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.tree
 

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


JSR-209 (Final Approval Ballot)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 209 specification.