public class DataSetsChangedEvent extends Object
Constructor and Description |
---|
DataSetsChangedEvent(DataSetManager source,
Collection<DataSet> setschanged,
boolean added,
boolean removed,
boolean changed)
Create a New Event with the changing sets, the
DataSetManager this event originates from and an indicator whether the sets are added or removed. |
Modifier and Type | Method and Description |
---|---|
Collection<DataSet> |
getSet()
Get the Collection of datasets that are 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 is being changed.
|
boolean |
wasRemoved()
Obtain information whether the set is being removed.
|
public DataSetsChangedEvent(DataSetManager source, Collection<DataSet> setschanged, boolean added, boolean removed, boolean changed)
DataSetManager
this event originates from and an indicator whether the sets are added or removed.source
- The DataSetManager
this event originates fromsetschanged
- The Sets that are changingadded
- whether the sets were addedremoved
- whether the sets were removedchanged
- Whether the Event indicates a change in the setspublic DataSetManager getSource()
DataSetManager
this event originates from.public Collection<DataSet> getSet()
Collection
of DataSet
s that are changing.public boolean wasAdded()
public boolean wasRemoved()
public boolean wasChanged()
Copyright © 2018. All rights reserved.