|
NextApp Echo3 Extras v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo.extras.app.tree.DefaultTreeColumnModel
public class DefaultTreeColumnModel
The default TreeColumnModel
implementation.
Field Summary | |
---|---|
protected nextapp.echo.app.event.EventListenerList |
listenerList
A listener storage facility. |
Constructor Summary | |
---|---|
DefaultTreeColumnModel()
Creates a new DefaultTreeColumnModel. |
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 . |
protected void |
fireColumnAdded(TreeColumnModelEvent e)
Notifies TreeColumnModelListener s that a column was
added. |
protected void |
fireColumnMoved(TreeColumnModelEvent e)
Notifies TreeColumnModelListener s that a column was
moved. |
protected void |
fireColumnRemoved(TreeColumnModelEvent e)
Notifies TreeColumnModelListener s that a column was
removed. |
protected void |
fireColumnResized(TreeColumnModelEvent e)
Notifies TreeColumnModelListener s that a column was
resized. |
TreeColumn |
getColumn(int index)
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected nextapp.echo.app.event.EventListenerList listenerList
Constructor Detail |
---|
public DefaultTreeColumnModel()
Method Detail |
---|
public void addColumn(TreeColumn column)
TreeColumnModel
addColumn
in interface TreeColumnModel
column
- the column to addTreeColumnModel.addColumn(nextapp.echo.extras.app.tree.TreeColumn)
public void addColumnModelListener(TreeColumnModelListener l)
TreeColumnModel
TreeColumnModel
.
addColumnModelListener
in interface TreeColumnModel
l
- the listener to addTreeColumnModel.addColumnModelListener(nextapp.echo.extras.app.event.TreeColumnModelListener)
protected void fireColumnAdded(TreeColumnModelEvent e)
TreeColumnModelListener
s that a column was
added.
e
- the TreeColumnModelEvent
to fireprotected void fireColumnMoved(TreeColumnModelEvent e)
TreeColumnModelListener
s that a column was
moved.
e
- the TreeColumnModelEvent
to fireprotected void fireColumnRemoved(TreeColumnModelEvent e)
TreeColumnModelListener
s that a column was
removed.
e
- the TreeColumnModelEvent
to fireprotected void fireColumnResized(TreeColumnModelEvent e)
TreeColumnModelListener
s that a column was
resized.
e
- the TreeColumnModelEvent
to firepublic TreeColumn getColumn(int index)
TreeColumnModel
TreeColumn
at the specified index.
getColumn
in interface TreeColumnModel
index
- the index
TreeColumnModel.getColumn(int)
public int getColumnCount()
TreeColumnModel
getColumnCount
in interface TreeColumnModel
TreeColumnModel.getColumnCount()
public int getColumnIndex(java.lang.Object identifier)
TreeColumnModel
getColumnIndex
in interface TreeColumnModel
identifier
- the identifier
TreeColumnModel.getColumnIndex(java.lang.Object)
public java.util.Iterator getColumns()
TreeColumnModel
Iterator
over the columns of the column model.
getColumns
in interface TreeColumnModel
Iterator
TreeColumnModel.getColumns()
public void moveColumn(int columnIndex, int newIndex)
TreeColumnModel
moveColumn
in interface TreeColumnModel
columnIndex
- the index of the column to movenewIndex
- the new index of the specified columnTreeColumnModel.moveColumn(int, int)
public void removeColumn(TreeColumn column)
TreeColumnModel
removeColumn
in interface TreeColumnModel
column
- the column to removeTreeColumnModel.removeColumn(nextapp.echo.extras.app.tree.TreeColumn)
public void removeColumnModelListener(TreeColumnModelListener l)
TreeColumnModel
TreeColumnModel
.
removeColumnModelListener
in interface TreeColumnModel
l
- the listener to removeTreeColumnModel.removeColumnModelListener(nextapp.echo.extras.app.event.TreeColumnModelListener)
|
NextApp Echo3 Extras v3.0.b4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |