public interface ILcdTreeLayeredSupport extends ILcdTreeLayered
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.
Modifier and Type | Method and Description |
---|---|
ILcdLayered |
getLayeredToSupport()
Returns the
ILcdLayered for which this support is created. |
void |
setLayeredToSupport(ILcdLayered aLayeredToSupport)
Set the
ILcdLayered for which this support is created. |
addLayeredListener, containsLayer, getLayer, getRootNode, indexOf, layerCount, layerOf, layers, layersBackwards, removeAllLayers, removeLayer, removeLayeredListener
addLayeredListener, getLayers, moveLayerAt, removeLayeredListener
ILcdLayered getLayeredToSupport()
Returns the ILcdLayered
for which this support is created.
ILcdLayered
for which this support is created.void setLayeredToSupport(ILcdLayered aLayeredToSupport)
Set the ILcdLayered
for which this support is created. This method should only
be called once, and before using instances of this interface.
aLayeredToSupport
- the ILcdLayered
for which this support is created