Interface IDataSelectionListener<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
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IDataSelectionListener<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>>
This interface is the same asDataSelectionListener
, except it isn'tOsmPrimitive
specific.- Since:
- 17862
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IDataSelectionListener.AbstractSelectionEvent<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>>
The base class for selection eventsstatic class
IDataSelectionListener.SelectionAddEvent<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>>
Primitives are added to the selectionstatic interface
IDataSelectionListener.SelectionChangeEvent<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>>
The event that is fired when the selection changed.static class
IDataSelectionListener.SelectionRemoveEvent<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>>
Primitives are removed from the selectionstatic class
IDataSelectionListener.SelectionReplaceEvent<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>>
The selection is replaced by a new selectionstatic class
IDataSelectionListener.SelectionToggleEvent<O extends IPrimitive,N extends INode,W extends IWay<N>,R extends IRelation<?>,D extends OsmData<O,N,W,R>>
Toggle the selected state of a primitive
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
selectionChanged(IDataSelectionListener.SelectionChangeEvent<O,N,W,R,D> event)
Called whenever the selection is changed.
-
-
-
Method Detail
-
selectionChanged
void selectionChanged(IDataSelectionListener.SelectionChangeEvent<O,N,W,R,D> event)
Called whenever the selection is changed. You get notified about the new selection, the elements that were added and removed and the layer that triggered the event.- Parameters:
event
- The selection change event.- See Also:
IDataSelectionListener.SelectionChangeEvent
-
-