Interface ILcdTreeLayeredSupport

All Superinterfaces:
ILcdLayered, ILcdTreeLayered, Serializable
All Known Implementing Classes:
TLcdIndependentOrderTreeLayeredSupport, TLcdTreeLayeredSupport

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.

Since:
9.0
  • Method Details

    • getLayeredToSupport

      ILcdLayered getLayeredToSupport()

      Returns the ILcdLayered for which this support is created.

      Returns:
      the ILcdLayered for which this support is created.
    • setLayeredToSupport

      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.

      Parameters:
      aLayeredToSupport - the ILcdLayered for which this support is created