|
NextApp Echo3 Extras v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TreeColumnModel
A representation of the collection of TreeColumn
s of a
Tree
.
Method Summary | |
---|---|
void |
addColumn(TreeColumn column)
Adds a tree column to the end of the model. |
void |
addColumnModelListener(TreeColumnModelListener l)
Adds a listener to be notified of updates to this TreeColumnModel . |
TreeColumn |
getColumn(int columnIndex)
Returns the TreeColumn 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 tree 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 tree column to a new index within the model. |
void |
removeColumn(TreeColumn column)
Remove a tree column from the model. |
void |
removeColumnModelListener(TreeColumnModelListener l)
Removes a listener from being notified of updates to this TreeColumnModel . |
Method Detail |
---|
void addColumn(TreeColumn column)
column
- the column to addvoid addColumnModelListener(TreeColumnModelListener l)
TreeColumnModel
.
l
- the listener to addTreeColumn getColumn(int columnIndex)
TreeColumn
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(TreeColumn column)
column
- the column to removevoid removeColumnModelListener(TreeColumnModelListener l)
TreeColumnModel
.
l
- the listener to remove
|
NextApp Echo3 Extras v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |