|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A representation of the collection of TableColumns of a
Table.
| Method Summary | |
void |
addColumn(TableColumn column)
Adds a table column to the end of the model. |
void |
addColumnModelListener(TableColumnModelListener l)
Adds a listener to be notified of updates to this TableColumnModel. |
TableColumn |
getColumn(int columnIndex)
Returns the TableColumn at the specified index. |
int |
getColumnCount()
Returns the number of columns in the column model. |
int |
getColumnIndex(java.lang.Object identifier)
Returns the index of the table column with the given identifier. |
java.util.Iterator |
getColumns()
Returns an Iterator over the columns of the column model. |
void |
moveColumn(int columnIndex,
int newIndex)
Moves a table column to a new index within the model. |
void |
removeColumn(TableColumn column)
Remove a table column from the model. |
void |
removeColumnModelListener(TableColumnModelListener l)
Removes a listener from being notified of updates to this TableColumnModel. |
| Method Detail |
public void addColumn(TableColumn column)
column - the column to addpublic void addColumnModelListener(TableColumnModelListener l)
TableColumnModel.
l - the listener to addpublic TableColumn getColumn(int columnIndex)
TableColumn at the specified index.
columnIndex - the index
public int getColumnCount()
public int getColumnIndex(java.lang.Object identifier)
identifier - the identifier
java.lang.IllegalArgumentException - if the value of identifier
is null or if the no column was found with the given identifierpublic java.util.Iterator getColumns()
Iterator over the columns of the column model.
Iterator
public void moveColumn(int columnIndex,
int newIndex)
columnIndex - the index of the column to movenewIndex - the new index of the specified columnpublic void removeColumn(TableColumn column)
column - the column to removepublic void removeColumnModelListener(TableColumnModelListener l)
TableColumnModel.
l - the listener to remove
|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||