Package | Description |
---|---|
org.jaudiotagger.utils.tree |
Customization of JTree behavior.
|
Modifier and Type | Field and Description |
---|---|
protected TreePath |
TreeModelEvent.path
Path to the parent of the nodes that have changed.
|
Modifier and Type | Method and Description |
---|---|
TreePath |
TreePath.getParentPath()
Returns a path containing all the elements of this object, except
the last path component.
|
TreePath |
TreeModelEvent.getTreePath()
For all events, except treeStructureChanged,
returns the parent of the changed nodes.
|
TreePath |
TreePath.pathByAddingChild(Object child)
Returns a new path containing all the elements of this object
plus
child . |
Modifier and Type | Method and Description |
---|---|
boolean |
TreePath.isDescendant(TreePath aTreePath)
Returns true if
aTreePath is a
descendant of this
TreePath. |
void |
DefaultTreeModel.valueForPathChanged(TreePath path,
Object newValue)
This sets the user object of the TreeNode identified by path
and posts a node changed.
|
void |
TreeModel.valueForPathChanged(TreePath path,
Object newValue)
Messaged when the user has altered the value for the item identified
by
path to newValue . |
Constructor and Description |
---|
TreeModelEvent(Object source,
TreePath path)
Used to create an event when the node structure has changed in some way,
identifying the path to the root of the modified subtree as a TreePath
object.
|
TreeModelEvent(Object source,
TreePath path,
int[] childIndices,
Object[] children)
Used to create an event when nodes have been changed, inserted, or
removed, identifying the path to the parent of the modified items as
a TreePath object.
|
TreePath(TreePath parent,
Object lastElement)
Constructs a new TreePath, which is the path identified by
parent ending in lastElement . |
Copyright © 2005–2020 jthink.net. All rights reserved.