Package | Description |
---|---|
com.luciad.realtime.lightspeed.labeling |
Handles the labeling of realtime data for lightspeed layers.
|
com.luciad.view.lightspeed.controller.manipulation |
Provides controllers for the manipulation of domain objects in a view.
|
com.luciad.view.lightspeed.editor.label |
Handles editors for labels.
|
com.luciad.view.lightspeed.editor.operation |
Classes that describe edit handle results and edit operations.
|
com.luciad.view.lightspeed.label |
Handles the placement of labels in a view.
|
com.luciad.view.lightspeed.label.algorithm |
Handles labeling algorithms.
|
com.luciad.view.lightspeed.label.algorithm.discrete |
Handles discrete labeling algorithms.
|
com.luciad.view.lightspeed.label.location |
Handles label locations.
|
com.luciad.view.lightspeed.painter.label |
Provides support for painting labels for objects.
|
com.luciad.view.lightspeed.painter.label.location |
Defines label locations used by label painters.
|
com.luciad.view.lightspeed.query |
Provides support for
querying
the objects of a layer. |
Modifier and Type | Method and Description |
---|---|
protected void |
TLspContinuousLabelingAlgorithm.retrieveDesiredLocation(TLspLabelID aLabel,
TLspPaintState aPaintState,
TLspContext aContext,
Point aRelativeLocationSFCT)
Retrieves the desired view location for the given label.
|
Modifier and Type | Method and Description |
---|---|
List<TLspLabelPlacement> |
TLspContinuousLabelingAlgorithm.placeLabels(List<TLspLabelID> aLabelIDs,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
ALspInteractiveLabelProvider.canStartInteraction(TLspLabelID aLabel,
TLspContext aContext)
This method determines whether or not this
ALspInteractiveLabelProvider can
provide a Component for the specified label. |
protected void |
ALspInteractiveLabelProvider.fireInteractionStartedEvent(TLspLabelID aLabel,
TLspContext aContext,
Component aInteractiveLabel)
This method should be called to fire an 'interaction started' event.
|
void |
ILspInteractiveLabelListener.interactionStarted(ALspInteractiveLabelProvider aSource,
TLspLabelID aLabel,
TLspContext aContext,
Component aInteractiveLabel)
This method is called when interaction with an interactive label has started.
|
abstract Component |
ALspInteractiveLabelProvider.startInteraction(TLspLabelID aLabel,
TLspContext aContext)
Returns a component, configured to display or edit the properties of the given view
identifier.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ALspLabelEditFilter.canEditLabel(TLspLabelID aLabel,
TLspEditContext aContext)
Determines whether or not label can be edited by an editor.
|
Modifier and Type | Method and Description |
---|---|
TLspLabelID |
TLspLabelMoveDescriptor.getLabelID()
Returns the label which is being moved.
|
Constructor and Description |
---|
TLspLabelMoveDescriptor(TLspLabelID aLabel,
ALspLabelLocation aStartLabelLocation,
ALspLabelLocation aTargetLabelLocation)
Creates a new
TLspLabelMoveDescriptor for the given label. |
Modifier and Type | Method and Description |
---|---|
TLspLabelID |
TLspLabelPlacement.getLabelID()
Returns the placements label.
|
Modifier and Type | Method and Description |
---|---|
int |
ILspLabelPriorityProvider.getPriority(TLspLabelID aLabel,
TLspPaintState aPaintState,
TLspContext aContext)
Returns the priority for the given label, 0 being the highest
priority, Integer.MAX_VALUE the lowest priority.
|
Constructor and Description |
---|
TLspLabelPlacement(TLspLabelID aId,
ALspLabelLocation aLocation,
boolean aVisible,
double aX,
double aY,
double aWidth,
double aHeight,
double aRotation)
Creates a new label placement for the given label, with the given location, visibility and
rotated bounds (in view coordinates).
|
Modifier and Type | Method and Description |
---|---|
double |
TLspLabelLocationProvider.calculateLocation(int aLocationIndex,
TLspLabelID aLabel,
ILcdPoint aObjectAnchorPoint,
Dimension2D aDimension,
TLspContext aContext,
ILcd3DEditablePoint aUpperLeftPointSFCT) |
abstract double |
ALspStampLabelLocationProvider.calculateLocation(int aLocationIndex,
TLspLabelID aLabel,
ILcdPoint aObjectAnchorPoint,
Dimension2D aDimension,
TLspContext aContext,
ILcd3DEditablePoint aUpperLeftPointSFCT)
Returns the rotation and calculates the upper left corner of the bounds for the given domain
object and sublabel ID, given the dimension.
|
void |
ILspLabelDependencyProvider.getDependingLabels(TLspLabelID aLabel,
TLspPaintState aPaintState,
TLspContext aContext,
List<TLspLabelID> aDependingIdentifiersSFCT)
This method adds all
TLspLabelID s that depend on the given
TLspLabelID to the given list. |
ILspWorldElevationStyle.ElevationMode |
ILspLabelingAlgorithm.LabelContext.getElevationMode(TLspLabelID aLabel,
ILspView aView)
Returns the elevation mode of the anchor object of the given label.
|
T |
ILspLabelingAlgorithmProvider.getLabelingAlgorithm(TLspLabelID aLabel,
TLspPaintState aPaintState,
TLspContext aContext)
This method returns a labeling algorithm for the given domain object and sublabel ID.
|
TLspLabelPlacement |
TLspFixedOnPathLabelLocationProvider.getLocation(TLspLabelID aLabel,
int aLocationIndex,
ALspLabelLocations aCurrentLabelLocations,
TLspPaintState aPaintState,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspView aView) |
TLspLabelPlacement |
TLspFixedInPathLabelLocationProvider.getLocation(TLspLabelID aLabel,
int aLocationIndex,
ALspLabelLocations aCurrentLabelLocations,
TLspPaintState aPaintState,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspView aView) |
TLspLabelPlacement |
ALspStampLabelLocationProvider.getLocation(TLspLabelID aLabel,
int aLocationIndex,
ALspLabelLocations aCurrentLabelLocations,
TLspPaintState aPaintState,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspView aView) |
abstract 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.
|
int |
TLspLabelLocationProvider.getMaxLocationCount(TLspLabelID aLabel,
TLspPaintState aPaintState,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspView aView) |
int |
TLspFixedOnPathLabelLocationProvider.getMaxLocationCount(TLspLabelID aLabel,
TLspPaintState aPaintState,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspView aView) |
int |
ALspLabelLocationProvider.getMaxLocationCount(TLspLabelID aLabel,
TLspPaintState aPaintState,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspView aView)
Returns the maximal number of locations to be tried for the given label.
|
abstract TLspPaintState |
ILspLabelingAlgorithm.LabelContext.getPaintState(TLspLabelID aLabel,
ILspView aView)
Returns the paint state to be used for the given label.
|
abstract ALspLabelLocations.LocationInfo |
ILspLabelingAlgorithm.LabelContext.getPreviousLocation(TLspLabelID aLabel,
ILspView aView)
Returns the previous label location and visibility of the given label.
|
abstract int |
ILspLabelingAlgorithm.LabelContext.getPriority(TLspLabelID aLabel,
ILspView aView)
This method returns the priority for the given label.
|
abstract Map<String,Object> |
ILspLabelingAlgorithm.LabelContext.getProperties(TLspLabelID aLabel)
Returns a custom properties mapping for the given label.
|
protected boolean |
TLspLabelLocationProvider.isValidLocation(TLspLabelID aLabelID,
ILcdPoint aObjectAnchorPoint,
Dimension2D aDimension,
TLspContext aContext,
ILcdPoint aUpperLeftPoint,
double aRotation) |
protected boolean |
ALspStampLabelLocationProvider.isValidLocation(TLspLabelID aLabelID,
ILcdPoint aObjectAnchorPoint,
Dimension2D aDimension,
TLspContext aContext,
ILcdPoint aUpperLeftPoint,
double aRotation)
Checks if the given upper left point and rotation are valid.
|
Modifier and Type | Method and Description |
---|---|
void |
ILspLabelDependencyProvider.getDependingLabels(TLspLabelID aLabel,
TLspPaintState aPaintState,
TLspContext aContext,
List<TLspLabelID> aDependingIdentifiersSFCT)
This method adds all
TLspLabelID s that depend on the given
TLspLabelID to the given list. |
List<TLspLabelPlacement> |
TLspCompositeLabelingAlgorithm.placeLabels(List<TLspLabelID> aLabelIDs,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView) |
List<TLspLabelPlacement> |
ILspLabelingAlgorithm.placeLabels(List<TLspLabelID> aLabelIDs,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView)
|
protected List<ILspLabelingAlgorithm> |
TLspCompositeLabelingAlgorithm.sortAlgorithms(Map<ILspLabelingAlgorithm,List<TLspLabelID>> aLabels,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspView aView)
This method sorts the given
List of algorithms. |
Modifier and Type | Method and Description |
---|---|
protected Iterator<TLspLabelPlacement> |
TLspOnPathLabelingAlgorithm.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> |
TLspInPathLabelingAlgorithm.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> |
TLspCompositeDiscreteLabelingAlgorithm.createLabelPlacementIterator(TLspLabelID aLabel,
ALspLabelLocations aCurrentLabelLocations,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView) |
protected Iterator<TLspLabelPlacement> |
ALspDiscreteLabelingAlgorithmWrapper.createLabelPlacementIterator(TLspLabelID aLabel,
ALspLabelLocations aCurrentLabelLocations,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView) |
protected abstract Iterator<TLspLabelPlacement> |
ALspDiscreteLabelingAlgorithm.createLabelPlacementIterator(TLspLabelID aLabel,
ALspLabelLocations aCurrentLabelLocations,
ILspLabelingAlgorithm.LabelContext aLabelContext,
ILspLabelConflictChecker aConflictChecker,
ILspView aView)
Creates a new
Iterator that iterates over the TLspLabelPlacement s for
the given label. |
void |
ILspLabelPlacementEvaluator.noPlacementApplied(TLspLabelID aLabel,
List<TLspLabelPlacement> aPlacements,
ALspLabelLocations aCurrentLabelLocations)
This method can be called to notify that no
TLspLabelPlacement is chosen as
placement for the given label. |
Modifier and Type | Method and Description |
---|---|
TLspLabelID |
TLspLabelLocationChangedEvent.Change.getLabel()
Gets the label to which the change applies
|
TLspLabelID |
ALspLabelLocations.LocationInfo.getLabel()
Get the label to which the information applies
|
Modifier and Type | Method and Description |
---|---|
void |
TLspLabelLocationChangedEvent.addChange(TLspLabelID aLabel,
ALspLabelLocation aPreviousLocation,
ALspLabelLocation aLocation,
boolean aPreviousVisible,
boolean aVisible)
Adds a change in the state of a label to this event.
|
ALspLabelLocations.LocationInfo |
TLspLabelLocations.getLabelLocation(ILspView aView,
TLspLabelID aLabel) |
abstract ALspLabelLocations.LocationInfo |
ALspLabelLocations.getLabelLocation(ILspView aView,
TLspLabelID aLabel)
Returns the location and visibility for the requested label.
|
Modifier and Type | Method and Description |
---|---|
void |
TLspLabelLocations.setLabelLocations(List<TLspLabelID> aLabels,
List<ALspLabelLocation> aLocations,
List<Boolean> aVisibilities,
ILspView aView) |
abstract void |
ALspLabelLocations.setLabelLocations(List<TLspLabelID> aLabels,
List<ALspLabelLocation> aLocations,
List<Boolean> aVisibilities,
ILspView aView)
Stores the given location information so it can be
retrieved
later on. |
void |
TLspLabelLocations.updateLabelLocations(List<TLspLabelID> aLabels,
List<ALspLabelLocation> aLocations,
List<Boolean> aVisibilities,
ILspView aView) |
abstract void |
ALspLabelLocations.updateLabelLocations(List<TLspLabelID> aLabels,
List<ALspLabelLocation> aLocations,
List<Boolean> aVisibilities,
ILspView aView)
Stores the given location information so it can be
retrieved
later on. |
Constructor and Description |
---|
LocationInfo(TLspLabelID aLabel,
ALspLabelLocation aLocation,
boolean aVisible)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
Iterable<TLspLabelID> |
TLspLabelPainter.getLabelIDs(Object aObject,
TLspPaintRepresentationState aPaintRepresentationState,
TLspContext aContext) |
Iterable<TLspLabelID> |
ILspLabelPainter.getLabelIDs(Object aObject,
TLspPaintRepresentationState aPaintRepresentationState,
TLspContext aContext)
Enumerates all the desired labels associated with a domain object.
|
Modifier and Type | Method and Description |
---|---|
Object |
TLspLabelPainter.getAnchorObject(TLspLabelID aLabel,
TLspPaintState aPaintState,
TLspContext aContext) |
Object |
ILspLabelPainter.getAnchorObject(TLspLabelID aLabel,
TLspPaintState aPaintState,
TLspContext aContext)
Returns the anchor object of the given label.
|
void |
TLspLabelPainter.labelAnchorPointOffsetSFCT(TLspLabelID aLabel,
Dimension2D aDimension,
TLspPaintState aPaintState,
TLspContext aContext,
ILcd2DEditablePoint aOffsetSFCT) |
void |
TLspLabelPainter.labelAnchorPointSFCT(TLspLabelID aLabel,
ALspLabelLocation aLabelLocation,
ALspLabelLocations aLabelLocations,
TLspPaintState aPaintState,
TLspContext aContext,
ILcd3DEditablePoint aAnchorPointSFCT) |
void |
ILspLabelPainter.labelAnchorPointSFCT(TLspLabelID aLabel,
ALspLabelLocation aLabelLocation,
ALspLabelLocations aLabelLocations,
TLspPaintState aPaintState,
TLspContext aContext,
ILcd3DEditablePoint aAnchorPointSFCT)
Retrieves the anchor point of the given label.
|
double |
TLspLabelPainter.labelBoundsSFCT(TLspLabelID aLabel,
ALspLabelLocation aLabelLocation,
ALspLabelLocations aLocations,
TLspPaintState aPaintState,
TLspContext aContext,
ILcd3DEditableBounds aBoundsSFCT) |
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.
|
void |
TLspLabelPainter.labelDimensionSFCT(TLspLabelID aLabelID,
TLspPaintState aPaintState,
TLspContext aContext,
Dimension2D aDimensionSFCT) |
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) |
Modifier and Type | Method and Description |
---|---|
void |
TLspStampLabelLocation.getLocationData(TLspLabelID aLabel,
ALspLabelLocations aLabelLocations,
ILspStampLocationLabelPainter aLabelPainter,
TLspPaintState aPaintState,
TLspContext aContext,
ALspStampLabelLocation.LocationData aLocationDataSFCT) |
abstract void |
ALspStampLabelLocation.getLocationData(TLspLabelID aLabel,
ALspLabelLocations aLabelLocations,
ILspStampLocationLabelPainter aLabelPainter,
TLspPaintState aPaintState,
TLspContext aContext,
ALspStampLabelLocation.LocationData aLocationDataSFCT)
Calculates the
location data of the given label. |
void |
ILspStampLocationLabelPainter.labelAnchorPointOffsetSFCT(TLspLabelID aLabel,
Dimension2D aDimension,
TLspPaintState aPaintState,
TLspContext aContext,
ILcd2DEditablePoint aOffsetSFCT)
Returns the anchor point offset.
|
void |
ILspStampLocationLabelPainter.labelDimensionSFCT(TLspLabelID aLabelID,
TLspPaintState aPaintState,
TLspContext aContext,
Dimension2D aDimensionSFCT)
Returns the dimension of the given label.
|
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.
|
Modifier and Type | Method and Description |
---|---|
TLspLabelID |
TLspIsTouchedQuery.getLabel()
Returns the label that should be queried.
|
TLspLabelID |
TLspBoundsQuery.getLabel()
Returns the label that should be queried.
|
Constructor and Description |
---|
TLspBoundsQuery(TLspLabelID aLabel)
Creates a new label bounds query.
|
TLspBoundsQuery(TLspLabelID aLabel,
TLspPaintState aPaintState)
Creates a new label bounds query, this tries to find bounds for the given label,
in the given paint state.
|
TLspBoundsQuery(TLspLabelID aLabel,
TLspPaintState aPaintState,
ALspLabelLocation aLabelLocation)
Creates a new label bounds query, this tries to find bounds for the given label,
in the given paint state, for the given label location.
|
TLspIsTouchedQuery(TLspLabelID aLabel,
ILcdPoint aViewPoint,
double aSensitivity)
Creates a new is touched query for a label.
|
TLspIsTouchedQuery(TLspLabelID aLabel,
ILcdPoint aViewPoint,
double aSensitivity,
ALspLabelLocation aLabelLocation)
Creates a new is touched query for a label, for the given location.
|