public abstract static class DataSelectionListener.AbstractSelectionEvent extends java.lang.Object implements DataSelectionListener.SelectionChangeEvent
Modifier and Type | Field and Description |
---|---|
private java.util.Set<OsmPrimitive> |
old |
private DataSet |
source |
Constructor and Description |
---|
AbstractSelectionEvent(DataSet source,
java.util.Set<OsmPrimitive> old) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<OsmPrimitive> |
getOldSelection()
Gets the previous selection
|
DataSet |
getSource()
Gets the data set that triggered this selection event.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdded, getRemoved, getSelection, isNop
private final java.util.Set<OsmPrimitive> old
public AbstractSelectionEvent(DataSet source, java.util.Set<OsmPrimitive> old)
public java.util.Set<OsmPrimitive> getOldSelection()
DataSelectionListener.SelectionChangeEvent
This collection cannot be modified and will not change.
getOldSelection
in interface DataSelectionListener.SelectionChangeEvent
public DataSet getSource()
DataSelectionListener.SelectionChangeEvent
getSource
in interface DataSelectionListener.SelectionChangeEvent