com.dlsc.flexgantt.model.treetable
Class ColumnModelEvent
java.lang.Object
java.util.EventObject
com.dlsc.flexgantt.model.treetable.ColumnModelEvent
- All Implemented Interfaces:
- java.io.Serializable
public class ColumnModelEvent
- extends java.util.EventObject
An event object implementation used to notify model listeners of type
IColumnModelListener
about changes to the column model that they are
attached to.
- Since:
- 1.0
- Author:
- Dirk Lemmermann
- See Also:
IColumnModelListener
,
IColumnModel
,
IColumnModel.addColumnModelListener(IColumnModelListener)
,
Serialized Form
Nested Class Summary |
static class |
ColumnModelEvent.ID
An enumerator with values that describe which kind of modification took place
on a column model. |
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ColumnModelEvent
public ColumnModelEvent(IColumnModel model,
TreeTableColumn column,
ColumnModelEvent.ID id)
- Constructs a new column model event for the given column model and
column. The id specifies which type of model modification took place.
- Parameters:
model
- the modified column model (the source)column
- the added/removed/inserted columnid
- the event identifier- Since:
- 1.0
getColumn
public TreeTableColumn getColumn()
- Returns the column that was added/removed/inserted.
- Returns:
- the column that was modified
- Since:
- 1.0
getId
public ColumnModelEvent.ID getId()
- Returns the event identifier.
- Returns:
- the event identifier
- Since:
- 1.0