Package com.luciad.view
Interface ILcdLayeredListener
- All Superinterfaces:
EventListener
,Serializable
- All Known Subinterfaces:
ILcdDAFIFLoaderViewAdapter
- All Known Implementing Classes:
ALcdWeakLayeredListener
,TLcdDAFIFLoaderViewAdapter
ILcdLayeredListener
is the listener interface for TLcdLayeredEvent
.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Notify thisILcdLayeredListener
that the state of anILcdLayered
has changed.static ILcdLayeredListener
onLayerAdded
(Consumer<ILcdLayer> aLayerConsumer) Utility method to create a newILcdLayeredListener
which will triggeraLayerConsumer
whenever a layer has been added.static ILcdLayeredListener
onLayerRemoved
(Consumer<ILcdLayer> aLayerConsumer) Utility method to create a newILcdLayeredListener
which will triggeraLayerConsumer
whenever a layer has been removed.
-
Method Details
-
layeredStateChanged
Notify thisILcdLayeredListener
that the state of anILcdLayered
has changed. -
onLayerAdded
Utility method to create a newILcdLayeredListener
which will triggeraLayerConsumer
whenever a layer has been added. Other events are ignored.- Parameters:
aLayerConsumer
- The consumer of the added layer- Returns:
- a new
ILcdLayeredListener
- Since:
- 2019.1
-
onLayerRemoved
Utility method to create a newILcdLayeredListener
which will triggeraLayerConsumer
whenever a layer has been removed. Other events are ignored.- Parameters:
aLayerConsumer
- The consumer of the removed layer- Returns:
- a new
ILcdLayeredListener
- Since:
- 2019.1
-