public abstract class AbstractTreeTableModel extends Object implements TreeTableModel
| Modifier and Type | Method and Description |
|---|---|
void |
addTreeModelListener(TreeModelListener listener) |
protected void |
fireTreeNodesChanged(Object source,
Object[] path,
int[] childIndices,
Object... children)
Notifies all listeners that have registered interest for
'tree nodes changed' event.
|
protected void |
fireTreeNodesInserted(Object source,
Object[] path,
int[] childIndices,
Object... children)
Notify all listeners that have registered interest for
'tree nodes inserted' event.
|
protected void |
fireTreeNodesRemoved(Object source,
Object[] path,
int[] childIndices,
Object... children)
Notify all listeners that have registered interest for
'tree nodes removed' event.
|
Class<?> |
getColumnClass(int column) |
int |
getIndexOfChild(Object parent,
Object child) |
Object |
getRoot() |
boolean |
isCellEditable(int column)
By default, make the column with the Tree in it the only editable one.
|
boolean |
isLeaf(Object node) |
void |
removeTreeModelListener(TreeModelListener listener) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColumnCount, getColumnName, getValueAtgetChild, getChildCount, valueForPathChangedpublic int getIndexOfChild(Object parent, Object child)
getIndexOfChild in interface TreeModelpublic void addTreeModelListener(TreeModelListener listener)
addTreeModelListener in interface TreeModelpublic void removeTreeModelListener(TreeModelListener listener)
removeTreeModelListener in interface TreeModelprotected void fireTreeNodesChanged(Object source, Object[] path, int[] childIndices, Object... children)
source - The Object responsible for generating the event.path - An array of Object identifying the path to the parent of the modified items.childIndices - An array of int that specifies the index values of the removed items.children - An array of Object containing the inserted, removed, or changed objects.EventListenerListprotected void fireTreeNodesInserted(Object source, Object[] path, int[] childIndices, Object... children)
source - The Object responsible for generating the event.path - An array of Object identifying the path to the parent of the modified items.childIndices - An array of int that specifies the index values of the removed items.children - An array of Object containing the inserted, removed, or changed objects.EventListenerListprotected void fireTreeNodesRemoved(Object source, Object[] path, int[] childIndices, Object... children)
source - The Object responsible for generating the event.path - An array of Object identifying the path to the parent of the modified items.childIndices - An array of int that specifies the index values of the removed items.children - An array of Object containing the inserted, removed, or changed objects.EventListenerListpublic Class<?> getColumnClass(int column)
getColumnClass in interface TreeTableModelcolumn - the column numbercolumn.public boolean isCellEditable(int column)
isCellEditable in interface TreeTableModelcolumn - the column numberCopyright © 2001-2015. All Rights Reserved.