public abstract class AbstractTreeTableModel extends Object implements TreeTableModel
| Modifier and Type | Field and Description |
|---|---|
protected EventListenerList |
listenerList |
protected Object |
root |
| Constructor and Description |
|---|
AbstractTreeTableModel(Object root)
Creates a new AbstractTreeTableModel object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTreeModelListener(TreeModelListener l) |
protected void |
fireTreeNodesChanged(Object source,
Object[] path,
int[] childIndices,
Object[] children)
Notify all listeners that have registered interest for notification on this event type.
|
protected void |
fireTreeNodesInserted(Object source,
Object[] path,
int[] childIndices,
Object[] children)
Notify all listeners that have registered interest for notification on this event type.
|
protected void |
fireTreeNodesRemoved(Object source,
Object[] path,
int[] childIndices,
Object[] children)
Notify all listeners that have registered interest for notification on this event type.
|
protected void |
fireTreeStructureChanged(Object source,
Object[] path,
int[] childIndices,
Object[] children)
Notify all listeners that have registered interest for notification on this event type.
|
Class |
getColumnClass(int column)
Returns the type for column number
column. |
int |
getIndexOfChild(Object parent,
Object child) |
Object |
getRoot() |
boolean |
isCellEditable(Object node,
int column)
By default, make the column with the Tree in it the only editable one.
|
boolean |
isLeaf(Object node) |
void |
removeTreeModelListener(TreeModelListener l) |
void |
setValueAt(Object aValue,
Object node,
int column)
Sets the value for node
node, at column number column. |
void |
valueForPathChanged(TreePath path,
Object newValue) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColumnCount, getColumnName, getValueAtgetChild, getChildCountprotected Object root
protected EventListenerList listenerList
public AbstractTreeTableModel(Object root)
root - DOCUMENT ME!public void valueForPathChanged(TreePath path, Object newValue)
valueForPathChanged in interface TreeModelpublic int getIndexOfChild(Object parent, Object child)
getIndexOfChild in interface TreeModelpublic void addTreeModelListener(TreeModelListener l)
addTreeModelListener in interface TreeModelpublic void removeTreeModelListener(TreeModelListener l)
removeTreeModelListener in interface TreeModelprotected void fireTreeNodesChanged(Object source, Object[] path, int[] childIndices, Object[] children)
source - DOCUMENT ME!path - DOCUMENT ME!childIndices - DOCUMENT ME!children - DOCUMENT ME!EventListenerListprotected void fireTreeNodesInserted(Object source, Object[] path, int[] childIndices, Object[] children)
source - DOCUMENT ME!path - DOCUMENT ME!childIndices - DOCUMENT ME!children - DOCUMENT ME!EventListenerListprotected void fireTreeNodesRemoved(Object source, Object[] path, int[] childIndices, Object[] children)
source - DOCUMENT ME!path - DOCUMENT ME!childIndices - DOCUMENT ME!children - DOCUMENT ME!EventListenerListprotected void fireTreeStructureChanged(Object source, Object[] path, int[] childIndices, Object[] children)
source - DOCUMENT ME!path - DOCUMENT ME!childIndices - DOCUMENT ME!children - DOCUMENT ME!EventListenerListpublic Class getColumnClass(int column)
TreeTableModelcolumn.getColumnClass in interface TreeTableModelcolumn - DOCUMENT ME!public boolean isCellEditable(Object node, int column)
isCellEditable in interface TreeTableModelnode - DOCUMENT ME!column - DOCUMENT ME!public void setValueAt(Object aValue, Object node, int column)
TreeTableModelnode, at column number column.setValueAt in interface TreeTableModelaValue - DOCUMENT ME!node - DOCUMENT ME!column - DOCUMENT ME!Copyright © 2012–2026 cismet GmbH. All rights reserved.