Interface IDisplayLayer<T>

All Known Subinterfaces:
IDisplayLayer2D, IDisplayLayer3D
All Known Implementing Classes:
AbstractAirspaceLayer, AbstractDisplayLayer3D, AbstractDisplayLayerOGL2D, AbstractRenderableLayer, DisplayLayer2D, DisplayLayer3D, NetworkDisplayLayer2D, NetworkDisplayLayer3D, NetworkLayerGIS, NetworkLayerOGL2D, PlaceMarkLayer, StyledDisplayLayer2D, StyledDisplayLayerOGL2D, SurfaceShapeLayer

public interface IDisplayLayer<T>
Interface for display layers.
Author:
Nick Collier
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds the specified object to the layer.
    void
    Applies the latest set of updates to the displayed objects.
    Gets the visual representation of this object.
    void
    Removes the specified objecdt from the layer.
    void
    Updates the layout, styles etc.
  • Method Details

    • update

      void update(LayoutUpdater updater)
      Updates the layout, styles etc. of the displayed objects.
      Parameters:
      updater - used to update the layout and position information
    • applyUpdates

      void applyUpdates()
      Applies the latest set of updates to the displayed objects. Depending on the semantics of the display, this may or may not be necessary.
    • addObject

      void addObject(Object obj)
      Adds the specified object to the layer.
      Parameters:
      obj - the object to add
    • removeObject

      void removeObject(Object obj)
      Removes the specified objecdt from the layer.
      Parameters:
      obj - the object to remove
    • getVisualItem

      T getVisualItem(Object obj)
      Gets the visual representation of this object.
      Parameters:
      obj - the object whose visual representation we want to get
      Returns:
      the visual representation of this object.