Uses of Interface
javax.swing.tree.TreeModel
-
Packages that use TreeModel Package Description 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 withjavax.swing.JTree. -
-
Uses of TreeModel in javax.swing
Fields in javax.swing declared as TreeModel Modifier and Type Field Description protected TreeModelJTree. treeModelThe model that defines the tree displayed by this object.Methods in javax.swing that return TreeModel Modifier and Type Method Description protected static TreeModelJTree. createTreeModel(Object value)Returns aTreeModelwrapping the specified object.protected static TreeModelJTree. getDefaultTreeModel()Creates and returns a sampleTreeModel.TreeModelJTree. getModel()Returns theTreeModelthat is providing the data.Methods in javax.swing with parameters of type TreeModel Modifier and Type Method Description voidJTree. setModel(TreeModel newModel)Sets theTreeModelthat will provide the data.Constructors in javax.swing with parameters of type TreeModel Constructor Description JTree(TreeModel newModel)Returns an instance ofJTreewhich 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 Modifier and Type Field Description protected TreeModelBasicTreeUI. treeModelUsed to determine what to display.Methods in javax.swing.plaf.basic that return TreeModel Modifier and Type Method Description protected TreeModelBasicTreeUI. getModel()Returns the tree model.Methods in javax.swing.plaf.basic with parameters of type TreeModel Modifier and Type Method Description protected voidBasicTreeUI. setModel(TreeModel model)Sets theTreeModel. -
Uses of TreeModel in javax.swing.tree
Classes in javax.swing.tree that implement TreeModel Modifier and Type Class Description classDefaultTreeModelA simple tree data model that uses TreeNodes.Fields in javax.swing.tree declared as TreeModel Modifier and Type Field Description protected TreeModelAbstractLayoutCache. treeModelModel providing information.Methods in javax.swing.tree that return TreeModel Modifier and Type Method Description TreeModelAbstractLayoutCache. getModel()Returns theTreeModelthat is providing the data.Methods in javax.swing.tree with parameters of type TreeModel Modifier and Type Method Description voidAbstractLayoutCache. setModel(TreeModel newModel)Sets theTreeModelthat will provide the data.voidFixedHeightLayoutCache. setModel(TreeModel newModel)Sets the TreeModel that will provide the data.voidVariableHeightLayoutCache. setModel(TreeModel newModel)Sets theTreeModelthat will provide the data.
-