|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TreeTableModel
TreeTableModel is the tablemodel that the TreeTable class uses.
| Field Summary | |
|---|---|
static Object |
CHANGE_COLUMN_SOURCE
|
| Method Summary | |
|---|---|
Class |
getColumnClass(int columnIndex)
Returns the class of all the cells in the column. |
int |
getColumnCount()
Returns the number of columns. |
String |
getColumnName(int columnIndex)
Returns the name of the column at columnIndex as it will be displayed by the table |
Object |
getValueAt(Object node,
int column)
Returns the value to be displayed for node,
at column index column. |
boolean |
isAggregate(Object node)
Determines if node is an aggregate row. |
boolean |
isCellEditable(Object node,
int columnIndex)
Returns true if node at columnIndex is editable. |
boolean |
isFooter(Object node)
Determines if node is a footer. |
boolean |
isHeader(Object node)
Determines if node is a header. |
void |
setValueAt(Object aValue,
Object node,
int columnIndex)
Sets the value for node at columnIndex to aValue. |
| Methods inherited from interface javax.swing.tree.TreeModel |
|---|
addTreeModelListener, getChild, getChildCount, getIndexOfChild, getRoot, isLeaf, removeTreeModelListener, valueForPathChanged |
| Field Detail |
|---|
static final Object CHANGE_COLUMN_SOURCE
| Method Detail |
|---|
Class getColumnClass(int columnIndex)
columnIndex - the index of the column
int getColumnCount()
String getColumnName(int columnIndex)
columnIndex - the index of the column
Object getValueAt(Object node,
int column)
node,
at column index column.
node - the node to querycolumn - the column index
boolean isAggregate(Object node)
node is an aggregate row.
node - the node to consider
node is an aggregate row, false otherwise
boolean isCellEditable(Object node,
int columnIndex)
node at columnIndex is editable.
node - the node to considercolumnIndex - the column index
boolean isFooter(Object node)
node is a footer.
node - the row to consider
node is a footer, false otherwiseboolean isHeader(Object node)
node is a header.
node - the row to query
node is a header, false otherwise
void setValueAt(Object aValue,
Object node,
int columnIndex)
node at columnIndex to aValue.
aValue - the new valuenode - the node whose value is to be changedcolumnIndex - the column whose value is to be changed
|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||