|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableColumnModel
A representation of the collection of TableColumn
s 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 |
---|
void addColumn(TableColumn column)
column
- the column to addvoid addColumnModelListener(TableColumnModelListener l)
TableColumnModel
.
l
- the listener to addTableColumn getColumn(int columnIndex)
TableColumn
at the specified index.
columnIndex
- the index
int getColumnCount()
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 identifierjava.util.Iterator getColumns()
Iterator
over the columns of the column model.
Iterator
void moveColumn(int columnIndex, int newIndex)
columnIndex
- the index of the column to movenewIndex
- the new index of the specified columnvoid removeColumn(TableColumn column)
column
- the column to removevoid removeColumnModelListener(TableColumnModelListener l)
TableColumnModel
.
l
- the listener to remove
|
NextApp Echo3 v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |