|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JTree | |
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 | Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. |
javax.swing.plaf.basic | Provides user interface objects built according to the Basic look-and-feel. |
javax.swing.plaf.multi | The multiplexing look and feel allows users to combine auxiliary look and feels with the default look and feel. |
javax.swing.tree | Provides classes and interfaces for dealing with javax.swing.JTree. |
Uses of JTree in javax.swing |
Methods in javax.swing with parameters of type JTree | |
Component |
DefaultCellEditor.getTreeCellEditorComponent(JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
|
Constructors in javax.swing with parameters of type JTree | |
JTree.TreeSelectionRedirector()
|
|
JTree.TreeModelHandler()
|
|
JTree.AccessibleJTree()
|
|
JTree.AccessibleJTree.AccessibleJTreeNode(JTree t,
TreePath p,
Accessible ap)
Constructs an AccessibleJTreeNode |
Uses of JTree in javax.swing.plaf |
Methods in javax.swing.plaf with parameters of type JTree | |
abstract Rectangle |
TreeUI.getPathBounds(JTree tree,
TreePath path)
Returns the Rectangle enclosing the label portion that the last item in path will be drawn into. |
abstract TreePath |
TreeUI.getPathForRow(JTree tree,
int row)
Returns the path for passed in row. |
abstract int |
TreeUI.getRowForPath(JTree tree,
TreePath path)
Returns the row that the last item identified in path is visible at. |
abstract int |
TreeUI.getRowCount(JTree tree)
Returns the number of rows that are being displayed. |
abstract TreePath |
TreeUI.getClosestPathForLocation(JTree tree,
int x,
int y)
Returns the path to the node that is closest to x,y. |
abstract boolean |
TreeUI.isEditing(JTree tree)
Returns true if the tree is being edited. |
abstract boolean |
TreeUI.stopEditing(JTree tree)
Stops the current editing session. |
abstract void |
TreeUI.cancelEditing(JTree tree)
Cancels the current editing session. |
abstract void |
TreeUI.startEditingAtPath(JTree tree,
TreePath path)
Selects the last item in path and tries to edit it. |
abstract TreePath |
TreeUI.getEditingPath(JTree tree)
Returns the path to the element that is being edited. |
Uses of JTree in javax.swing.plaf.basic |
Fields in javax.swing.plaf.basic declared as JTree | |
protected JTree |
BasicTreeUI.tree
Component that we're going to be drawing into. |
Methods in javax.swing.plaf.basic with parameters of type JTree | |
Rectangle |
BasicTreeUI.getPathBounds(JTree tree,
TreePath path)
Returns the Rectangle enclosing the label portion that the last item in path will be drawn into. |
TreePath |
BasicTreeUI.getPathForRow(JTree tree,
int row)
Returns the path for passed in row. |
int |
BasicTreeUI.getRowForPath(JTree tree,
TreePath path)
Returns the row that the last item identified in path is visible at. |
int |
BasicTreeUI.getRowCount(JTree tree)
Returns the number of rows that are being displayed. |
TreePath |
BasicTreeUI.getClosestPathForLocation(JTree tree,
int x,
int y)
Returns the path to the node that is closest to x,y. |
boolean |
BasicTreeUI.isEditing(JTree tree)
Returns true if the tree is being edited. |
boolean |
BasicTreeUI.stopEditing(JTree tree)
Stops the current editing session. |
void |
BasicTreeUI.cancelEditing(JTree tree)
Cancels the current editing session. |
void |
BasicTreeUI.startEditingAtPath(JTree tree,
TreePath path)
Selects the last item in path and tries to edit it. |
TreePath |
BasicTreeUI.getEditingPath(JTree tree)
Returns the path to the element that is being edited. |
Uses of JTree in javax.swing.plaf.multi |
Methods in javax.swing.plaf.multi with parameters of type JTree | |
Rectangle |
MultiTreeUI.getPathBounds(JTree a,
TreePath b)
Call getPathBounds on each UI handled by this MultiUI. |
TreePath |
MultiTreeUI.getPathForRow(JTree a,
int b)
Call getPathForRow on each UI handled by this MultiUI. |
int |
MultiTreeUI.getRowForPath(JTree a,
TreePath b)
Call getRowForPath on each UI handled by this MultiUI. |
int |
MultiTreeUI.getRowCount(JTree a)
Call getRowCount on each UI handled by this MultiUI. |
TreePath |
MultiTreeUI.getClosestPathForLocation(JTree a,
int b,
int c)
Call getClosestPathForLocation on each UI handled by this MultiUI. |
boolean |
MultiTreeUI.isEditing(JTree a)
Call isEditing on each UI handled by this MultiUI. |
boolean |
MultiTreeUI.stopEditing(JTree a)
Call stopEditing on each UI handled by this MultiUI. |
void |
MultiTreeUI.cancelEditing(JTree a)
Call cancelEditing on each UI handled by this MultiUI. |
void |
MultiTreeUI.startEditingAtPath(JTree a,
TreePath b)
Call startEditingAtPath on each UI handled by this MultiUI. |
TreePath |
MultiTreeUI.getEditingPath(JTree a)
Call getEditingPath on each UI handled by this MultiUI. |
Uses of JTree in javax.swing.tree |
Fields in javax.swing.tree declared as JTree | |
protected JTree |
DefaultTreeCellEditor.tree
JTree instance listening too. |
Methods in javax.swing.tree with parameters of type JTree | |
Component |
DefaultTreeCellRenderer.getTreeCellRendererComponent(JTree tree,
Object value,
boolean sel,
boolean expanded,
boolean leaf,
int row,
boolean hasFocus)
Configures the renderer based on the passed in components. |
Component |
TreeCellRenderer.getTreeCellRendererComponent(JTree tree,
Object value,
boolean selected,
boolean expanded,
boolean leaf,
int row,
boolean hasFocus)
Sets the value of the current tree cell to value . |
Component |
TreeCellEditor.getTreeCellEditorComponent(JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
Sets an initial value for the editor. |
Component |
DefaultTreeCellEditor.getTreeCellEditorComponent(JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
Configures the editor. |
protected void |
DefaultTreeCellEditor.setTree(JTree newTree)
Sets the tree currently editing for. |
protected void |
DefaultTreeCellEditor.determineOffset(JTree tree,
Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
|
Constructors in javax.swing.tree with parameters of type JTree | |
DefaultTreeCellEditor(JTree tree,
DefaultTreeCellRenderer renderer)
Constructs a DefaultTreeCellEditor object for a JTree using the specified renderer and a default editor. |
|
DefaultTreeCellEditor(JTree tree,
DefaultTreeCellRenderer renderer,
TreeCellEditor editor)
Constructs a DefaultTreeCellEditor object for a JTree using the specified renderer and the specified editor. |
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
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.