Class TLcyShapeContext

java.lang.Object
com.luciad.lucy.addons.drawing.util.context.TLcyShapeContext

public class TLcyShapeContext extends Object
This context contains the context information of a shape.
Since:
8.2
See Also:
  • Constructor Details

    • TLcyShapeContext

      public TLcyShapeContext(ILcdView aView, ILcdLayer aLayer, ILcdShape aGeometry)
      Default constructor
      Parameters:
      aView - the view which contains the geometry
      aLayer - the layer which contains the geometry
      aGeometry - the geometry
    • TLcyShapeContext

      public TLcyShapeContext(ILcdView aView, ILcdLayer aLayer, Object aDomainObject, ILcdShape aGeometry)
      Creates a new shape context
      Parameters:
      aView - the view which contains the geometry
      aLayer - the layer which contains the geometry
      aDomainObject - the domain object which contains the geometry
      aGeometry - the geometry
      Since:
      2015.1
  • Method Details

    • getView

      public ILcdView getView()
      Returns the view which was set in the constructor.
      Returns:
      the view which was set in the constructor, never null.
    • getLayer

      public ILcdLayer getLayer()
      Returns the layer which was set in the constructor.
      Returns:
      the layer which was set in the constructor, never null.
    • getShape

      public ILcdShape getShape()
      Returns the geometry which was set in the constructor.
      Returns:
      the geometry which was set in the constructor, never null.
    • getDomainObject

      public final Object getDomainObject()
      Returns the domain object which was set in the constructor.
      Returns:
      the domain object which was set in the constructor, possibly null
      Since:
      2015.1