TreeTableModel is the model used by a JTreeTable. It extends TreeModel to add methods for getting information 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 r
| 31 | * @author Scott Violet |
| 32 | */ |
| 33 | public interface TreeTableModel extends TreeModel |
| 34 | { |
| 35 | /** |
| 36 | * Returns the number ofs availible column. |
| 37 | */ |
| 38 | public int getColumnCount(); |
| 39 | |
| 40 | /** |
| 41 | * Returns the name for column number <code>column</code>. |
| 42 | */ |
| 43 | public String getColumnName(int column); |
| 44 | |
| 45 | /** |
| 46 | * Returns the type for column number <code>column</code>. |
| 47 | */ |
| 48 | public Class<?> getColumnClass(int column); |
| 49 | |
| 50 | /** |
| 51 | * Returns the value to be displayed for node <code>node</code>, |
| 52 | * at column number <code>column</code>. |
| 53 | */ |
| 54 | public Object getValueAt(Object node, int column); |
| 55 | |
| 56 | /** |
| 57 | * Indicates whether the the value for node <code>node</code>, |
| 58 | * at column number <code>column</code> is editable. |
| 59 | */ |
| 60 | public boolean isCellEditable(Object node, int column); |
| 61 | |
| 62 | /** |
| 63 | * Sets the value for node <code>node</code>, |
| 64 | * at column number <code>column</code>. |
| 65 | */ |
| 66 | public void setValueAt(Object aValue, Object node, int column); |
| 67 | } |
no outgoing calls
no test coverage detected