net.sourceforge.selfesteem.applet
Interface TreeTableModel
- All Superinterfaces:
- javax.swing.tree.TreeModel
- public interface TreeTableModel
- extends javax.swing.tree.TreeModel
TreeTableModel is the model used by a JTreeTable. It extends TreeModel
to add methods for getting inforamtion about the set of columns each
node in the TreeTableModel may have. Each column, like a column in
a TableModel, has a name and a type associated with it. Each node in
the TreeTableModel can return a value for each of the columns and
set that value if isCellEditable() returns true.
- Version:
- %I% %G%
- Author:
- Philip Milne, Scott Violet
Methods inherited from interface javax.swing.tree.TreeModel |
addTreeModelListener, getChild, getChildCount, getIndexOfChild, getRoot, isLeaf, removeTreeModelListener, valueForPathChanged |
getColumnCount
public int getColumnCount()
getColumnName
public java.lang.String getColumnName(int column)
getColumnClass
public java.lang.Class getColumnClass(int column)
getValueAt
public java.lang.Object getValueAt(java.lang.Object node,
int column)
isCellEditable
public boolean isCellEditable(java.lang.Object node,
int column)
setValueAt
public void setValueAt(java.lang.Object aValue,
java.lang.Object node,
int column)
Copyright © 2002-2002 Thoughtworks, LLC. All Rights Reserved.