Class TLcyShapeContext
java.lang.Object
com.luciad.lucy.addons.drawing.util.context.TLcyShapeContext
This context contains the context information of a shape.
- Since:
- 8.2
- See Also:
-
Constructor Summary
ConstructorDescriptionTLcyShapeContext
(ILcdView aView, ILcdLayer aLayer, ILcdShape aGeometry) Deprecated.TLcyShapeContext
(ILcdView aView, ILcdLayer aLayer, Object aDomainObject, ILcdShape aGeometry) Creates a new shape context -
Method Summary
-
Constructor Details
-
TLcyShapeContext
Deprecated.Use theTLcyShapeContext(ILcdView, ILcdLayer, Object, ILcdShape)
insteadDefault constructor- Parameters:
aView
- the view which contains the geometryaLayer
- the layer which contains the geometryaGeometry
- 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 geometryaLayer
- the layer which contains the geometryaDomainObject
- the domain object which contains the geometryaGeometry
- the geometry- Since:
- 2015.1
-
-
Method Details
-
getView
Returns the view which was set in the constructor.- Returns:
- the view which was set in the constructor, never
null
.
-
getLayer
Returns the layer which was set in the constructor.- Returns:
- the layer which was set in the constructor, never
null
.
-
getShape
Returns the geometry which was set in the constructor.- Returns:
- the geometry which was set in the constructor, never
null
.
-
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
-
TLcyShapeContext(ILcdView, ILcdLayer, Object, ILcdShape)
instead