public class TreeTableDataSourceEvent extends EventObject
IlvTreeTableDataSource
object.TreeTableDataSourceListener
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
FLAT_MODEL_CHANGE
Bitmask set when the flat list model view of the data source
has changed.
|
static int |
FLAT_TABLE_MODEL_CHANGE
Bitmask set when the flat table model view of the data source
has changed.
|
static int |
TREE_MODEL_CHANGE
Bitmask set when the tree list model view of the data source
has changed.
|
source
Constructor and Description |
---|
TreeTableDataSourceEvent(IlvTreeTableDataSource dataSource,
int changeMask,
IlvFlatTableModel oldFlatTable,
IlvFlatTableModel newFlatTable,
IlvFlatListModel oldFlat,
IlvFlatListModel newFlat,
IlvTreeListModel oldTree,
IlvTreeListModel newTree)
Creates a new
TreeTableDataSourceEvent . |
Modifier and Type | Method and Description |
---|---|
int |
getChangeMask()
Returns the mask of changes represented by this event.
|
IlvTreeTableDataSource |
getDataSource()
Returns the data source on which the event occurred.
|
IlvFlatListModel |
getNewFlatModel()
Returns the flat list model view provided by the data source after the
change occurred.
|
IlvFlatTableModel |
getNewFlatTableModel()
Returns the flat table model view provided by the data source after the
change occurred.
|
IlvTreeListModel |
getNewTreeModel()
Returns the tree list model view provided by the data source after the
change occurred.
|
IlvFlatListModel |
getOldFlatModel()
Returns the flat list model view provided by the data source before the
change occurred.
|
IlvFlatTableModel |
getOldFlatTableModel()
Returns the flat table model view provided by the data source before the
change occurred.
|
IlvTreeListModel |
getOldTreeModel()
Returns the tree list model view provided by the data source before the
change occurred.
|
String |
toString()
Returns the string representation of this event.
|
getSource
public static final int FLAT_TABLE_MODEL_CHANGE
public static final int FLAT_MODEL_CHANGE
public static final int TREE_MODEL_CHANGE
public TreeTableDataSourceEvent(IlvTreeTableDataSource dataSource, int changeMask, IlvFlatTableModel oldFlatTable, IlvFlatTableModel newFlatTable, IlvFlatListModel oldFlat, IlvFlatListModel newFlat, IlvTreeListModel oldTree, IlvTreeListModel newTree)
TreeTableDataSourceEvent
.changeMask
- The change mask.public final int getChangeMask()
public final IlvFlatTableModel getOldFlatTableModel()
null
if the flat table model view
hasn't changed.public final IlvFlatTableModel getNewFlatTableModel()
null
if the flat table model view
has not changed.public final IlvFlatListModel getOldFlatModel()
null
if the flat list model view
has not changed.public final IlvFlatListModel getNewFlatModel()
null
if the flat list model view
has not changed.public final IlvTreeListModel getOldTreeModel()
null
if the tree list model view
has not changed.public final IlvTreeListModel getNewTreeModel()
null
if the tree list model view
has not changed.public final IlvTreeTableDataSource getDataSource()
public String toString()
toString
in class EventObject
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.