Package | Description |
---|---|
org.jdesktop.swingx.treetable |
Contains API required by the JXTreeTable component.
|
Modifier and Type | Interface and Description |
---|---|
interface |
MutableTreeTableNode
Defines the requirements for a tree table node object that can change -- by
adding or removing child nodes, or by changing the contents of a user object
stored in the node.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMutableTreeTableNode
AbstractMutableTreeTableNode provides an implementation of most of
the MutableTreeTableNode features. |
class |
DefaultMutableTreeTableNode
A default implementation of an
AbstractMutableTreeTableNode that
returns getUserObject().toString() for all value queries. |
Modifier and Type | Method and Description |
---|---|
TreeTableNode |
TreeTableNode.getChildAt(int childIndex)
Overridden to specify the return type.
|
TreeTableNode |
AbstractMutableTreeTableNode.getChildAt(int childIndex)
Overridden to specify the return type.
|
TreeTableNode |
TreeTableNode.getParent()
Overridden to specify the return type.
|
TreeTableNode |
AbstractMutableTreeTableNode.getParent()
Overridden to specify the return type.
|
TreeTableNode[] |
DefaultTreeTableModel.getPathToRoot(TreeTableNode aNode)
Gets the path from the root to the specified node.
|
TreeTableNode |
DefaultTreeTableModel.getRoot()
Returns the root of the tree.
|
Modifier and Type | Method and Description |
---|---|
Enumeration<? extends TreeTableNode> |
TreeTableNode.children()
Returns an enumeration this node's children.
|
Modifier and Type | Method and Description |
---|---|
TreeTableNode[] |
DefaultTreeTableModel.getPathToRoot(TreeTableNode aNode)
Gets the path from the root to the specified node.
|
void |
DefaultTreeTableModel.setRoot(TreeTableNode root)
Sets the root for this table model.
|
void |
DefaultTreeTableModel.setUserObject(TreeTableNode node,
Object userObject)
Sets the user object for a node.
|
Constructor and Description |
---|
DefaultTreeTableModel(TreeTableNode root)
Creates a new
DefaultTreeTableModel with the specified
root . |
DefaultTreeTableModel(TreeTableNode root,
List<?> columnNames)
Creates a new
DefaultTreeTableModel with the specified root and column names. |
Copyright © 2016. All rights reserved.