|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo2.app.table.DefaultTableColumnModel
The default TableColumnModel implementation.
| Field Summary | |
protected EventListenerList |
listenerList
A listener storage facility. |
| Constructor Summary | |
DefaultTableColumnModel()
Creates a new DefaultTableColumnModel. |
|
| 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. |
protected void |
fireColumnAdded(TableColumnModelEvent e)
Notifies TableColumnModelListeners that a column was
added. |
protected void |
fireColumnMoved(TableColumnModelEvent e)
Notifies TableColumnModelListeners that a column was
moved. |
protected void |
fireColumnRemoved(TableColumnModelEvent e)
Notifies TableColumnModelListeners that a column was
removed. |
TableColumn |
getColumn(int index)
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected EventListenerList listenerList
| Constructor Detail |
public DefaultTableColumnModel()
| Method Detail |
public void addColumn(TableColumn column)
TableColumnModel
addColumn in interface TableColumnModelcolumn - the column to addTableColumnModel.addColumn(nextapp.echo2.app.table.TableColumn)public void addColumnModelListener(TableColumnModelListener l)
TableColumnModelTableColumnModel.
addColumnModelListener in interface TableColumnModell - the listener to addTableColumnModel.addColumnModelListener(nextapp.echo2.app.event.TableColumnModelListener)protected void fireColumnAdded(TableColumnModelEvent e)
TableColumnModelListeners that a column was
added.
e - the TableColumnModelEvent to fireprotected void fireColumnMoved(TableColumnModelEvent e)
TableColumnModelListeners that a column was
moved.
e - the TableColumnModelEvent to fireprotected void fireColumnRemoved(TableColumnModelEvent e)
TableColumnModelListeners that a column was
removed.
e - the TableColumnModelEvent to firepublic TableColumn getColumn(int index)
TableColumnModelTableColumn at the specified index.
getColumn in interface TableColumnModelindex - the index
TableColumnModel.getColumn(int)public int getColumnCount()
TableColumnModel
getColumnCount in interface TableColumnModelTableColumnModel.getColumnCount()public int getColumnIndex(java.lang.Object identifier)
TableColumnModel
getColumnIndex in interface TableColumnModelidentifier - the identifier
TableColumnModel.getColumnIndex(java.lang.Object)public java.util.Iterator getColumns()
TableColumnModelIterator over the columns of the column model.
getColumns in interface TableColumnModelIteratorTableColumnModel.getColumns()
public void moveColumn(int columnIndex,
int newIndex)
TableColumnModel
moveColumn in interface TableColumnModelcolumnIndex - the index of the column to movenewIndex - the new index of the specified columnTableColumnModel.moveColumn(int, int)public void removeColumn(TableColumn column)
TableColumnModel
removeColumn in interface TableColumnModelcolumn - the column to removeTableColumnModel.removeColumn(nextapp.echo2.app.table.TableColumn)public void removeColumnModelListener(TableColumnModelListener l)
TableColumnModelTableColumnModel.
removeColumnModelListener in interface TableColumnModell - the listener to removeTableColumnModel.removeColumnModelListener(nextapp.echo2.app.event.TableColumnModelListener)
|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||