Class ALspStampLabelLocation
java.lang.Object
com.luciad.view.lightspeed.label.location.ALspLabelLocation
com.luciad.view.lightspeed.painter.label.location.ALspStampLabelLocation
- All Implemented Interfaces:
ILcdCloneable
,Cloneable
- Direct Known Subclasses:
TLspStampLabelLocation
This label location calculates the position and rotation
of a label.
Painters that support this location should implement ILspStampLocationLabelPainter
.
- Since:
- 2012.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
This object describes the exact location of the anchor point and the rotation of a label: -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
getLocationData
(TLspLabelID aLabel, ALspLabelLocations aLabelLocations, ILspStampLocationLabelPainter aLabelPainter, TLspPaintState aPaintState, TLspContext aContext, ALspStampLabelLocation.LocationData aLocationDataSFCT) Calculates thelocation data
of the given label.Methods inherited from class com.luciad.view.lightspeed.label.location.ALspLabelLocation
clone, copyFrom, equals, hashCode, isEditedByEditor, isEditedByPlacer, isSticky, setEditedByEditor, setEditedByPlacer, setSticky, toString
-
Constructor Details
-
ALspStampLabelLocation
public ALspStampLabelLocation()
-
-
Method Details
-
getLocationData
public abstract void getLocationData(TLspLabelID aLabel, ALspLabelLocations aLabelLocations, ILspStampLocationLabelPainter aLabelPainter, TLspPaintState aPaintState, TLspContext aContext, ALspStampLabelLocation.LocationData aLocationDataSFCT) throws TLcdNoBoundsException Calculates thelocation data
of the given label.- Parameters:
aLabel
- the label for which to calculate the location data.aLabelLocations
- context information. Can be used when a label depends on an other label.aLabelPainter
- the label painter using which the location data is calculated.aPaintState
- the paint state.aContext
- the context.aLocationDataSFCT
- theLocationData
object in which the location data is stored.- Throws:
TLcdNoBoundsException
- when the location data could not be calculated.
-