|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.gui.table.AbstractTreeTableModel
public abstract class AbstractTreeTableModel
Field Summary | |
---|---|
protected javax.swing.event.EventListenerList |
listenerList
|
protected java.lang.Object |
root
|
Constructor Summary | |
---|---|
AbstractTreeTableModel()
|
|
AbstractTreeTableModel(java.lang.Object root)
|
Method Summary | |
---|---|
void |
addTreeModelListener(javax.swing.event.TreeModelListener l)
Adds a listener to the model. |
protected void |
fireTreeNodesChanged(java.lang.Object source,
java.lang.Object[] path,
int[] childIndices,
java.lang.Object[] children)
Notify all listeners that have registered interest for notification on this event type. |
protected void |
fireTreeNodesInserted(java.lang.Object source,
java.lang.Object[] path,
int[] childIndices,
java.lang.Object[] children)
Notify all listeners that have registered interest for notification on this event type. |
protected void |
fireTreeNodesRemoved(java.lang.Object source,
java.lang.Object[] path,
int[] childIndices,
java.lang.Object[] children)
Notify all listeners that have registered interest for notification on this event type. |
protected void |
fireTreeStructureChanged(java.lang.Object source,
java.lang.Object[] path,
int[] childIndices,
java.lang.Object[] children)
Notify all listeners that have registered interest for notification on this event type. |
java.lang.Class |
getColumnClass(int column)
Returns the type for column number column . |
int |
getIndexOfChild(java.lang.Object parent,
java.lang.Object child)
|
java.lang.Object |
getRoot()
|
boolean |
isCellEditable(java.lang.Object node,
int column)
By default, make the column with the Tree in it the only editable one. |
boolean |
isLeaf(java.lang.Object node)
|
void |
removeTreeModelListener(javax.swing.event.TreeModelListener l)
Removes a listener from the model. |
void |
setValueAt(java.lang.Object aValue,
java.lang.Object node,
int column)
Sets the value for node node ,
at column number column . |
void |
valueForPathChanged(javax.swing.tree.TreePath path,
java.lang.Object newValue)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.xnap.gui.table.TreeTableModel |
---|
getColumnCount, getColumnName, getValueAt |
Methods inherited from interface javax.swing.tree.TreeModel |
---|
getChild, getChildCount |
Field Detail |
---|
protected java.lang.Object root
protected javax.swing.event.EventListenerList listenerList
Constructor Detail |
---|
public AbstractTreeTableModel(java.lang.Object root)
public AbstractTreeTableModel()
Method Detail |
---|
public java.lang.Object getRoot()
getRoot
in interface javax.swing.tree.TreeModel
public boolean isLeaf(java.lang.Object node)
isLeaf
in interface javax.swing.tree.TreeModel
public void valueForPathChanged(javax.swing.tree.TreePath path, java.lang.Object newValue)
valueForPathChanged
in interface javax.swing.tree.TreeModel
public int getIndexOfChild(java.lang.Object parent, java.lang.Object child)
getIndexOfChild
in interface javax.swing.tree.TreeModel
public void addTreeModelListener(javax.swing.event.TreeModelListener l)
addTreeModelListener
in interface javax.swing.tree.TreeModel
public void removeTreeModelListener(javax.swing.event.TreeModelListener l)
removeTreeModelListener
in interface javax.swing.tree.TreeModel
protected void fireTreeNodesChanged(java.lang.Object source, java.lang.Object[] path, int[] childIndices, java.lang.Object[] children)
EventListenerList
protected void fireTreeNodesInserted(java.lang.Object source, java.lang.Object[] path, int[] childIndices, java.lang.Object[] children)
EventListenerList
protected void fireTreeNodesRemoved(java.lang.Object source, java.lang.Object[] path, int[] childIndices, java.lang.Object[] children)
EventListenerList
protected void fireTreeStructureChanged(java.lang.Object source, java.lang.Object[] path, int[] childIndices, java.lang.Object[] children)
EventListenerList
public java.lang.Class getColumnClass(int column)
TreeTableModel
column
.
getColumnClass
in interface TreeTableModel
public boolean isCellEditable(java.lang.Object node, int column)
isCellEditable
in interface TreeTableModel
public void setValueAt(java.lang.Object aValue, java.lang.Object node, int column)
TreeTableModel
node
,
at column number column
.
setValueAt
in interface TreeTableModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |