Interface ILcdTreeLayeredSupport
- All Superinterfaces:
ILcdLayered
,ILcdTreeLayered
,Serializable
- All Known Implementing Classes:
TLcdIndependentOrderTreeLayeredSupport
,TLcdTreeLayeredSupport
Interface allowing to create a support class for facilitating the creation of concrete
ILcdTreeLayered
implementations based on an ILcdLayered
instance.
It provides a getter and a setter for the ILcdLayered
instance for which this support
is created.
It is intended that an ILcdTreeLayered
instance can be created by delegating
all the ILcdTreeLayered
calls to an ILcdTreeLayeredSupport
instance.
For example an ILcdGXYView
, which extends ILcdTreeLayered
, could have
internally an ILcdTreeLayeredSupport
to which all the method calls are delegated.
The setter and getter allow the support class to know the class it is supporting.
- Since:
- 9.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns theILcdLayered
for which this support is created.void
setLayeredToSupport
(ILcdLayered aLayeredToSupport) Set theILcdLayered
for which this support is created.Methods inherited from interface com.luciad.view.ILcdLayered
addLayeredListener, getLayers, moveLayerAt, removeLayeredListener
Methods inherited from interface com.luciad.view.ILcdTreeLayered
addLayeredListener, containsLayer, getLayer, getRootNode, indexOf, layerCount, layerOf, layers, layersBackwards, removeAllLayers, removeLayer, removeLayeredListener
-
Method Details
-
getLayeredToSupport
ILcdLayered getLayeredToSupport()Returns the
ILcdLayered
for which this support is created.- Returns:
- the
ILcdLayered
for which this support is created.
-
setLayeredToSupport
Set the
ILcdLayered
for which this support is created. This method should only be called once, and before using instances of this interface.- Parameters:
aLayeredToSupport
- theILcdLayered
for which this support is created
-