public interface TreeEventDispatcher
TreeModelListener
s
and dispatch events to them.Modifier and Type | Method and Description |
---|---|
void |
addTreeModelListener(javax.swing.event.TreeModelListener tml)
Add a
TreeModelListener . |
void |
fireTreeNodesChanged(javax.swing.tree.TreeNode changed)
Notify all listeners of a tree node changed event.
|
void |
fireTreeNodesInserted(javax.swing.tree.TreeNode changed,
JobTreeNode child,
int index)
Fire a tree node inserted event.
|
void |
fireTreeNodesRemoved(javax.swing.tree.TreeNode changed,
JobTreeNode child,
int index)
Fire a tree node removed event.
|
void |
removeTreeModelListener(javax.swing.event.TreeModelListener tml)
Remove a
TreeModelListener . |
void addTreeModelListener(javax.swing.event.TreeModelListener tml)
TreeModelListener
.tml
- The listener.void removeTreeModelListener(javax.swing.event.TreeModelListener tml)
TreeModelListener
.tml
- The lienter.void fireTreeNodesChanged(javax.swing.tree.TreeNode changed)
changed
- The node that's changed.void fireTreeNodesInserted(javax.swing.tree.TreeNode changed, JobTreeNode child, int index)
changed
- The parent node.child
- The child.index
- The index the child has been inserted at.void fireTreeNodesRemoved(javax.swing.tree.TreeNode changed, JobTreeNode child, int index)
changed
- The parent node.child
- The node removed.index
- The index of where the node was removed from.