Uses of Class
com.luciad.view.lightspeed.label.location.ALspLabelLocations
Package
Description
Handles the placement of labels in a view.
Handles labeling algorithms.
Handles discrete labeling algorithms.
Handles label locations.
Provides support for painting labels for objects.
Defines label locations used by label painters.
-
Uses of ALspLabelLocations in com.luciad.view.lightspeed.label
Modifier and TypeMethodDescriptionILspLabelPlacer.getLabelLocations()
Returns the label locations object.TLspLabelPlacer.getLabelLocations()
-
Uses of ALspLabelLocations in com.luciad.view.lightspeed.label.algorithm
Modifier and TypeMethodDescriptionabstract TLspLabelPlacement
ALspLabelLocationProvider.getLocation
(TLspLabelID aLabel, int aLocationIndex, ALspLabelLocations aCurrentLabelLocations, TLspPaintState aPaintState, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspView aView) This method returns a location for the given label using the given location index.final TLspLabelPlacement
ALspStampLabelLocationProvider.getLocation
(TLspLabelID aLabel, int aLocationIndex, ALspLabelLocations aCurrentLabelLocations, TLspPaintState aPaintState, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspView aView) TLspFixedInPathLabelLocationProvider.getLocation
(TLspLabelID aLabel, int aLocationIndex, ALspLabelLocations aCurrentLabelLocations, TLspPaintState aPaintState, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspView aView) TLspFixedOnPathLabelLocationProvider.getLocation
(TLspLabelID aLabel, int aLocationIndex, ALspLabelLocations aCurrentLabelLocations, TLspPaintState aPaintState, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspView aView) boolean
ALspLabelLocationProvider.isValidLocation
(TLspLabelPlacement aLocation, ALspLabelLocations aCurrentLabelLocations, TLspPaintState aPaintState, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspView aView) Checks if the given location is a valid location.final boolean
ALspStampLabelLocationProvider.isValidLocation
(TLspLabelPlacement aLocation, ALspLabelLocations aCurrentLabelLocations, TLspPaintState aPaintState, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspView aView) Checks if the given location is a valid location.boolean
TLspFixedInPathLabelLocationProvider.isValidLocation
(TLspLabelPlacement aLocation, ALspLabelLocations aCurrentLabelLocations, TLspPaintState aPaintState, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspView aView) boolean
TLspFixedOnPathLabelLocationProvider.isValidLocation
(TLspLabelPlacement aLocation, ALspLabelLocations aCurrentLabelLocations, TLspPaintState aPaintState, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspView aView) -
Uses of ALspLabelLocations in com.luciad.view.lightspeed.label.algorithm.discrete
Modifier and TypeMethodDescriptionprotected abstract Iterator
<TLspLabelPlacement> ALspDiscreteLabelingAlgorithm.createLabelPlacementIterator
(TLspLabelID aLabel, ALspLabelLocations aCurrentLabelLocations, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspLabelConflictChecker aConflictChecker, ILspView aView) Creates a newIterator
that iterates over theTLspLabelPlacement
s for the given label.protected Iterator
<TLspLabelPlacement> ALspDiscreteLabelingAlgorithmWrapper.createLabelPlacementIterator
(TLspLabelID aLabel, ALspLabelLocations aCurrentLabelLocations, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspLabelConflictChecker aConflictChecker, ILspView aView) protected Iterator
<TLspLabelPlacement> TLspCompositeDiscreteLabelingAlgorithm.createLabelPlacementIterator
(TLspLabelID aLabel, ALspLabelLocations aCurrentLabelLocations, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspLabelConflictChecker aConflictChecker, ILspView aView) protected Iterator
<TLspLabelPlacement> TLspCurvedPathLabelingAlgorithm.createLabelPlacementIterator
(TLspLabelID aLabel, ALspLabelLocations aCurrentLabelLocations, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspLabelConflictChecker aConflictChecker, ILspView aView) protected Iterator
<TLspLabelPlacement> TLspInPathLabelingAlgorithm.createLabelPlacementIterator
(TLspLabelID aLabel, ALspLabelLocations aCurrentLabelLocations, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspLabelConflictChecker aConflictChecker, ILspView aView) protected Iterator
<TLspLabelPlacement> TLspLabelingAlgorithm.createLabelPlacementIterator
(TLspLabelID aLabel, ALspLabelLocations aCurrentLabelLocations, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspLabelConflictChecker aConflictChecker, ILspView aView) protected Iterator
<TLspLabelPlacement> TLspOnPathLabelingAlgorithm.createLabelPlacementIterator
(TLspLabelID aLabel, ALspLabelLocations aCurrentLabelLocations, ILspLabelingAlgorithm.LabelContext aLabelContext, ILspLabelConflictChecker aConflictChecker, ILspView aView) ILspLabelPlacementEvaluator.evaluatePlacement
(TLspLabelPlacement aPlacement, ILspLabelConflictChecker.Conflict aConflict, List<TLspLabelPlacement> aPlacements, ALspLabelLocations aCurrentLabelLocations) This method evaluates the given label placement and returns aPlacementResult
to determine if the placement can be used for its label or not.void
ILspLabelPlacementEvaluator.noPlacementApplied
(TLspLabelID aLabel, List<TLspLabelPlacement> aPlacements, ALspLabelLocations aCurrentLabelLocations) This method can be called to notify that noTLspLabelPlacement
is chosen as placement for the given label.void
ILspLabelPlacementEvaluator.placementApplied
(TLspLabelPlacement aPlacement, List<TLspLabelPlacement> aPlacements, ALspLabelLocations aCurrentLabelLocations) This method can be called to notify that a givenTLspLabelPlacement
is chosen as the placement for a label. -
Uses of ALspLabelLocations in com.luciad.view.lightspeed.label.location
Modifier and TypeClassDescriptionclass
Default implementation ofALspLabelLocations
.Modifier and TypeMethodDescriptionTLspLabelLocationChangedEvent.getLabelLocations()
Returns theALspLabelLocations
where the information has changed.ModifierConstructorDescriptionTLspLabelLocationChangedEvent
(ALspLabelLocations aSource, ILspView aView) Creates a new TLspLabelLocationChangedEvent. -
Uses of ALspLabelLocations in com.luciad.view.lightspeed.painter.label
Modifier and TypeMethodDescriptionvoid
ILspLabelPainter.labelAnchorPointSFCT
(TLspLabelID aLabel, ALspLabelLocation aLabelLocation, ALspLabelLocations aLabelLocations, TLspPaintState aPaintState, TLspContext aContext, ILcd3DEditablePoint aAnchorPointSFCT) Retrieves the anchor point of the given label.final void
TLspLabelPainter.labelAnchorPointSFCT
(TLspLabelID aLabel, ALspLabelLocation aLabelLocation, ALspLabelLocations aLabelLocations, TLspPaintState aPaintState, TLspContext aContext, ILcd3DEditablePoint aAnchorPointSFCT) double
ILspLabelPainter.labelBoundsSFCT
(TLspLabelID aLabel, ALspLabelLocation aLabelLocation, ALspLabelLocations aLocations, TLspPaintState aPaintState, TLspContext aContext, ILcd3DEditableBounds aBoundsSFCT) Calculates the bounds of the given label for the given label location.double
TLspLabelPainter.labelBoundsSFCT
(TLspLabelID aLabel, ALspLabelLocation aLabelLocation, ALspLabelLocations aLocations, TLspPaintState aPaintState, TLspContext aContext, ILcd3DEditableBounds aBoundsSFCT) void
TLspLabelPainter.viewObjectAnchorPointSFCT
(TLspLabelID aLabel, ALspLabelLocations aLabelLocations, TLspPaintState aPaintState, TLspContext aContext, ILcd3DEditablePoint aObjectAnchorPointSFCT) void
TLspLabelPainter.worldObjectAnchorPointSFCT
(TLspLabelID aLabel, ALspLabelLocations aLabelLocations, TLspPaintState aPaintState, TLspContext aContext, ILcd3DEditablePoint aObjectAnchorPointSFCT) -
Uses of ALspLabelLocations in com.luciad.view.lightspeed.painter.label.location
Modifier and TypeMethodDescriptionabstract void
ALspStampLabelLocation.getLocationData
(TLspLabelID aLabel, ALspLabelLocations aLabelLocations, ILspStampLocationLabelPainter aLabelPainter, TLspPaintState aPaintState, TLspContext aContext, ALspStampLabelLocation.LocationData aLocationDataSFCT) Calculates thelocation data
of the given label.void
TLspStampLabelLocation.getLocationData
(TLspLabelID aLabel, ALspLabelLocations aLabelLocations, ILspStampLocationLabelPainter aLabelPainter, TLspPaintState aPaintState, TLspContext aContext, ALspStampLabelLocation.LocationData aLocationDataSFCT) void
ILspStampLocationLabelPainter.viewObjectAnchorPointSFCT
(TLspLabelID aLabel, ALspLabelLocations aLabelLocations, TLspPaintState aPaintState, TLspContext aContext, ILcd3DEditablePoint aObjectAnchorPointSFCT) Calculates the object anchor point for the given label in view coordinates.void
ILspStampLocationLabelPainter.worldObjectAnchorPointSFCT
(TLspLabelID aLabel, ALspLabelLocations aLabelLocations, TLspPaintState aPaintState, TLspContext aContext, ILcd3DEditablePoint aObjectAnchorPointSFCT) Calculates the object anchor point for the given label in world coordinates.