public class DataSetChangedEvent extends Object
Constructor and Description |
---|
DataSetChangedEvent(DataSetManager source,
DataSet setchanged,
boolean added,
boolean removed,
boolean changed)
Create a New Event with the changing set, the
DataSetManager this event originates from and an indicator whether the set is added or removed. |
Modifier and Type | Method and Description |
---|---|
DataSet |
getSet()
Get the
DataSet that is changing |
DataSetManager |
getSource()
Get the
DataSetManager this event originates from. |
boolean |
wasAdded()
Obtain information whether the set is being added.
|
boolean |
wasChanged()
Obtain information whether the set was changed
|
boolean |
wasRemoved()
Obtain information whether the provided set was removed
|
public DataSetChangedEvent(DataSetManager source, DataSet setchanged, boolean added, boolean removed, boolean changed)
DataSetManager
this event originates from and an indicator whether the set is added or removed.source
- The DataSetManager
this event originates fromsetchanged
- The Set that is changingadded
- whether the set is addedremoved
- whether the set was removedchanged
- Whether the Event indicates a change in the setpublic DataSetManager getSource()
DataSetManager
this event originates from.DataSetManager
that created this Eventpublic DataSet getSet()
DataSet
that is changingpublic boolean wasAdded()
public boolean wasRemoved()
public boolean wasChanged()
Copyright © 2018. All rights reserved.