| 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 |
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 |
Provides user interface objects that combine two or more look and feels.
|
| javax.swing.tree |
Provides classes and interfaces for dealing with
javax.swing.JTree.
|
| Modifier and Type | Method and Description |
|---|---|
Component |
DefaultCellEditor.getTreeCellEditorComponent(JTree
Implements the
TreeCellEditor interface.
|
| Constructor and Description | |
|---|---|
AccessibleJTreeNode(JTree
Constructs an AccessibleJTreeNode
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
TreeUI.cancelEditing(JTree
Cancels the current editing session.
|
abstract TreePath |
TreeUI.getClosestPathForLocation(JTree
Returns the path to the node that is closest to x,y.
|
abstract TreePath |
TreeUI.getEditingPath(JTree
Returns the path to the element that is being edited.
|
abstract Rectangle |
TreeUI.getPathBounds(JTree
Returns the Rectangle enclosing the label portion that the last item in path will be drawn into.
|
abstract TreePath |
TreeUI.getPathForRow(JTree
Returns the path for passed in row.
|
abstract int |
TreeUI.getRowCount(JTree
Returns the number of rows that are being displayed.
|
abstract int |
TreeUI.getRowForPath(JTree
Returns the row that the last item identified in path is visible at.
|
abstract boolean |
TreeUI.isEditing(JTree
Returns true if the tree is being edited.
|
abstract void |
TreeUI.startEditingAtPath(JTree
Selects the last item in path and tries to edit it.
|
abstract boolean |
TreeUI.stopEditing(JTree
Stops the current editing session.
|
| Modifier and Type | Field and Description |
|---|---|
protected JTree |
BasicTreeUI.tree
Component that we're going to be drawing into.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BasicTreeUI.cancelEditing(JTree
Cancels the current editing session.
|
TreePath |
BasicTreeUI.getClosestPathForLocation(JTree
Returns the path to the node that is closest to x,y.
|
TreePath |
BasicTreeUI.getEditingPath(JTree
Returns the path to the element that is being edited.
|
Rectangle |
BasicTreeUI.getPathBounds(JTree
Returns the Rectangle enclosing the label portion that the last item in path will be drawn into.
|
TreePath |
BasicTreeUI.getPathForRow(JTree
Returns the path for passed in row.
|
int |
BasicTreeUI.getRowCount(JTree
Returns the number of rows that are being displayed.
|
int |
BasicTreeUI.getRowForPath(JTree
Returns the row that the last item identified in path is visible at.
|
boolean |
BasicTreeUI.isEditing(JTree
Returns true if the tree is being edited.
|
void |
BasicTreeUI.startEditingAtPath(JTree
Selects the last item in path and tries to edit it.
|
boolean |
BasicTreeUI.stopEditing(JTree
Stops the current editing session.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MultiTreeUI.cancelEditing(JTree
Invokes the
cancelEditing method on each UI handled by this object.
|
TreePath |
MultiTreeUI.getClosestPathForLocation(JTree
Invokes the
getClosestPathForLocation method on each UI handled by this object.
|
TreePath |
MultiTreeUI.getEditingPath(JTree
Invokes the
getEditingPath method on each UI handled by this object.
|
Rectangle |
MultiTreeUI.getPathBounds(JTree
Invokes the
getPathBounds method on each UI handled by this object.
|
TreePath |
MultiTreeUI.getPathForRow(JTree
Invokes the
getPathForRow method on each UI handled by this object.
|
int |
MultiTreeUI.getRowCount(JTree
Invokes the
getRowCount method on each UI handled by this object.
|
int |
MultiTreeUI.getRowForPath(JTree
Invokes the
getRowForPath method on each UI handled by this object.
|
boolean |
MultiTreeUI.isEditing(JTree
Invokes the
isEditing method on each UI handled by this object.
|
void |
MultiTreeUI.startEditingAtPath(JTree
Invokes the
startEditingAtPath method on each UI handled by this object.
|
boolean |
MultiTreeUI.stopEditing(JTree
Invokes the
stopEditing method on each UI handled by this object.
|
| Modifier and Type | Field and Description |
|---|---|
protected JTree |
DefaultTreeCellEditor.tree
JTree instance listening too.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultTreeCellEditor.determineOffset(JTree
|
Component |
DefaultTreeCellEditor.getTreeCellEditorComponent(JTree
Configures the editor.
|
Component |
TreeCellEditor.getTreeCellEditorComponent(JTree
Sets an initial
value for the editor.
|
Component |
DefaultTreeCellRenderer.getTreeCellRendererComponent(JTree
Configures the renderer based on the passed in components.
|
Component |
TreeCellRenderer.getTreeCellRendererComponent(JTree
Sets the value of the current tree cell to
value.
|
protected void |
DefaultTreeCellEditor.setTree(JTree
Sets the tree currently editing for.
|
| Constructor and Description | |
|---|---|
DefaultTreeCellEditor(JTree
Constructs a
DefaultTreeCellEditor object for a JTree using the specified renderer and a default editor.
|
|
DefaultTreeCellEditor(JTree
Constructs a
DefaultTreeCellEditor object for a
JTree using the specified renderer and the specified editor.
|