Interface IDataSelectionEventSource<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>>
-
- Type Parameters:
O- the base type of OSM primitivesN- type representing OSM nodesW- type representing OSM waysR- type representing OSM relationsD- The dataset type
- All Known Implementing Classes:
VectorDataSet
public interface IDataSelectionEventSource<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>>
This interface indicates that the class can fireIDataSelectionListener.- Since:
- 17862
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaddSelectionListener(IDataSelectionListener<O,N,W,R,D> listener)Add a listenerbooleanremoveSelectionListener(IDataSelectionListener<O,N,W,R,D> listener)Remove a listener
-
-
-
Method Detail
-
addSelectionListener
boolean addSelectionListener(IDataSelectionListener<O,N,W,R,D> listener)
Add a listener- Parameters:
listener- The listener to add- Returns:
trueif the listener was added
-
removeSelectionListener
boolean removeSelectionListener(IDataSelectionListener<O,N,W,R,D> listener)
Remove a listener- Parameters:
listener- The listener to remove- Returns:
trueif the listener was removed
-
-