Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
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 with
javax.swing.JTree . |
Uses of TreeModel in javax.swing |
---|
Modifier and Type | Field and Description |
---|---|
protected TreeModel |
JTree.treeModel
The model that defines the tree displayed by this object. |
Modifier and Type | Method and Description |
---|---|
protected static TreeModel |
JTree.createTreeModel(Object value)
Returns a TreeModel wrapping the specified object. |
protected static TreeModel |
JTree.getDefaultTreeModel()
Creates and returns a sample TreeModel . |
TreeModel |
JTree.getModel()
Returns the TreeModel that is providing the data. |
Modifier and Type | Method and Description |
---|---|
void |
JTree.setModel(TreeModel newModel)
Sets the TreeModel that will provide the data. |
Constructor and Description |
---|
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 |
---|
Modifier and Type | Field and Description |
---|---|
protected TreeModel |
BasicTreeUI.treeModel
Used to determine what to display. |
Modifier and Type | Method and Description |
---|---|
protected TreeModel |
BasicTreeUI.getModel()
|
Modifier and Type | Method and Description |
---|---|
protected void |
BasicTreeUI.setModel(TreeModel model)
Sets the TreeModel. |
Uses of TreeModel in javax.swing.tree |
---|
Modifier and Type | Class and Description |
---|---|
class |
DefaultTreeModel
A simple tree data model that uses TreeNodes. |
Modifier and Type | Field and Description |
---|---|
protected TreeModel |
AbstractLayoutCache.treeModel
Model providing information. |
Modifier and Type | Method and Description |
---|---|
TreeModel |
AbstractLayoutCache.getModel()
Returns the TreeModel that is providing the data. |
Modifier and Type | Method and Description |
---|---|
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. |
void |
AbstractLayoutCache.setModel(TreeModel newModel)
Sets the TreeModel that will provide the data. |
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.