Package | Description |
---|---|
com.luciad.view.gxy.labeling.algorithm.discrete |
Handles discrete placements labeling algorithms.
|
com.luciad.view.gxy.labeling.util |
This package contains utility classes that can be used to implement ILcdGXYLabelingAlgorithms.
|
com.luciad.view.labeling.algorithm |
This package contains the core classes that can be used to create labeling algorithms.
|
com.luciad.view.labeling.algorithm.discrete |
This package contains classes that can be used for discrete label placement.
|
Modifier and Type | Method and Description |
---|---|
protected Iterator<TLcdCollectedLabelInfo> |
TLcdGXYOnPathLabelingAlgorithm.createLabelIterator(TLcdCollectedLabelInfoList aLabelInfoList,
ILcdLabelConflictChecker aBoundsConflictChecker,
ILcdGXYView aView) |
protected Iterator<TLcdCollectedLabelInfo> |
TLcdGXYLocationListLabelingAlgorithm.createLabelIterator(TLcdCollectedLabelInfoList aLabelInfoList,
ILcdLabelConflictChecker aBoundsConflictChecker,
ILcdGXYView aView) |
protected Iterator<TLcdCollectedLabelInfo> |
TLcdGXYLabelPainterLocationLabelingAlgorithm.createLabelIterator(TLcdCollectedLabelInfoList aLabelInfoList,
ILcdLabelConflictChecker aBoundsConflictChecker,
ILcdGXYView aView) |
protected Iterator<TLcdCollectedLabelInfo> |
TLcdGXYInPathLabelingAlgorithm.createLabelIterator(TLcdCollectedLabelInfoList aLabelInfoList,
ILcdLabelConflictChecker aBoundsConflictChecker,
ILcdGXYView aView) |
protected Iterator<TLcdCollectedLabelInfo> |
TLcdGXYDependantLabelsRemovalWrapper.createLabelIterator(TLcdCollectedLabelInfoList aLabelInfoList,
ILcdLabelConflictChecker aBoundsConflictChecker,
ILcdGXYView aView) |
protected Iterator<TLcdCollectedLabelInfo> |
TLcdGXYCurvedPathLabelingAlgorithm.createLabelIterator(TLcdCollectedLabelInfoList aLabelInfoList,
ILcdLabelConflictChecker aBoundsConflictChecker,
ILcdGXYView aView) |
protected Iterator<TLcdCollectedLabelInfo> |
TLcdGXYCompositeDiscretePlacementsLabelingAlgorithm.createLabelIterator(TLcdCollectedLabelInfoList aLabelInfoList,
ILcdLabelConflictChecker aBoundsConflictChecker,
ILcdGXYView aView) |
protected Iterator<TLcdCollectedLabelInfo> |
ALcdGXYDiscretePlacementsLabelingAlgorithmWrapper.createLabelIterator(TLcdCollectedLabelInfoList aLabelInfoList,
ILcdLabelConflictChecker aBoundsConflictChecker,
ILcdGXYView aView) |
protected abstract Iterator<TLcdCollectedLabelInfo> |
ALcdGXYDiscretePlacementsLabelingAlgorithm.createLabelIterator(TLcdCollectedLabelInfoList aLabelInfoList,
ILcdLabelConflictChecker aBoundsConflictChecker,
ILcdGXYView aView)
Creates a new
Iterator that iterates over the TLcdCollectedLabelInfo s. |
Modifier and Type | Method and Description |
---|---|
protected Iterator<TLcdLabelPlacement> |
TLcdGXYOnPathLabelingAlgorithm.createLabelPlacementIterator(TLcdCollectedLabelInfo aLabel,
TLcdCollectedLabelInfoList aLabelInfoList,
ILcdLabelConflictChecker aBoundsConflictChecker,
ILcdGXYView aView) |
protected Iterator<TLcdLabelPlacement> |
TLcdGXYLocationListLabelingAlgorithm.createLabelPlacementIterator(TLcdCollectedLabelInfo aLabel,
TLcdCollectedLabelInfoList aLabelInfoList,
ILcdLabelConflictChecker aBoundsConflictChecker,
ILcdGXYView aView) |
protected Iterator<TLcdLabelPlacement> |
TLcdGXYLabelPainterLocationLabelingAlgorithm.createLabelPlacementIterator(TLcdCollectedLabelInfo aLabel,
TLcdCollectedLabelInfoList aLabelInfoList,
ILcdLabelConflictChecker aBoundsConflictChecker,
ILcdGXYView aView) |
protected Iterator<TLcdLabelPlacement> |
TLcdGXYInPathLabelingAlgorithm.createLabelPlacementIterator(TLcdCollectedLabelInfo aLabel,
TLcdCollectedLabelInfoList aLabelInfoList,
ILcdLabelConflictChecker aBoundsConflictChecker,
ILcdGXYView aView) |
protected Iterator<TLcdLabelPlacement> |
TLcdGXYCurvedPathLabelingAlgorithm.createLabelPlacementIterator(TLcdCollectedLabelInfo aLabel,
TLcdCollectedLabelInfoList aLabelInfoList,
ILcdLabelConflictChecker aBoundsConflictChecker,
ILcdGXYView aView) |
protected Iterator<TLcdLabelPlacement> |
TLcdGXYCompositeDiscretePlacementsLabelingAlgorithm.createLabelPlacementIterator(TLcdCollectedLabelInfo aLabel,
TLcdCollectedLabelInfoList aLabelInfoList,
ILcdLabelConflictChecker aBoundsConflictChecker,
ILcdGXYView aView) |
protected Iterator<TLcdLabelPlacement> |
ALcdGXYDiscretePlacementsLabelingAlgorithmWrapper.createLabelPlacementIterator(TLcdCollectedLabelInfo aLabel,
TLcdCollectedLabelInfoList aLabelInfoList,
ILcdLabelConflictChecker aBoundsConflictChecker,
ILcdGXYView aView) |
protected abstract Iterator<TLcdLabelPlacement> |
ALcdGXYDiscretePlacementsLabelingAlgorithm.createLabelPlacementIterator(TLcdCollectedLabelInfo aLabel,
TLcdCollectedLabelInfoList aLabelInfoList,
ILcdLabelConflictChecker aBoundsConflictChecker,
ILcdGXYView aView)
Creates a new
Iterator that iterates over the TLcdLabelPlacement s
for the given label. |
protected double |
TLcdGXYLocationListLabelingAlgorithm.getLocationBounds(TLcdCollectedLabelInfo aLabelInfo,
int aLocationIndex,
TLcdCollectedLabelInfoList aLabelInfoList,
Rectangle aBoundsSFCT)
This method calculates the bounds for the given label using the given location index.
|
protected int |
TLcdGXYLocationListLabelingAlgorithm.getMaxLocationCount(TLcdCollectedLabelInfo aLabelInfo,
TLcdCollectedLabelInfoList aLabelInfoList)
Returns the maximal number of locations to be tried for the given label.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
TLcdGXYCollectedLabelInfoUtil.addDimensionAndLabelAnchorOffsetDataSFCT(TLcdCollectedLabelInfo aLabelInfoSFCT,
ILcdGXYContext aGXYContext,
Graphics aGraphics,
int aLabelPainterMode)
This method adds dimension data to the given
TLcdCollectedLabelInfo object when it doesn't
exist yet. |
static boolean |
TLcdGXYCollectedLabelInfoUtil.addDimensionDataSFCT(TLcdCollectedLabelInfo aLabelInfoSFCT,
ILcdGXYContext aGXYContext,
Graphics aGraphics,
int aLabelPainterMode)
This method adds dimension data to the given
TLcdCollectedLabelInfo when it doesn't
exist yet. |
static void |
TLcdGXYCollectedLabelInfoUtil.addInteractiveLabelDataSFCT(TLcdCollectedLabelInfo aLabelInfoSFCT,
ILcdGXYContext aGXYContext)
This method checks if the given label is an interactive label and stores this using
IS_INTERACTIVE_LABEL . |
static boolean |
TLcdGXYCollectedLabelInfoUtil.addLabelAnchorOffsetDataSFCT(TLcdCollectedLabelInfo aLabelInfoSFCT,
ILcdGXYContext aGXYContext,
Graphics aGraphics,
int aLabelPainterMode)
This method calculates label anchor offset data for the given
TLcdCollectedLabelInfo ,
and stores it using LABEL_ANCHOR_OFFSET_KEY . |
Modifier and Type | Method and Description |
---|---|
TLcdCollectedLabelInfo |
TLcdLabelPlacement.getLabel()
Returns the label of this label placement.
|
TLcdCollectedLabelInfo |
TLcdCollectedLabelInfoList.getLabel(ILcdLayer aLayer,
Object aObject,
int aLabelIndex,
int aSubLabelIndex)
Returns the
TLcdCollectedLabelInfo object that corresponds with the given ILcdLayer,
Object, label index and sublabel index, or null if no such label info object could
be found. |
Modifier and Type | Method and Description |
---|---|
List<TLcdCollectedLabelInfo> |
TLcdCollectedLabelInfoList.getLabels()
Returns the list of
TLcdCollectedLabelInfo objects. |
List<TLcdCollectedLabelInfo> |
TLcdCollectedLabelInfoList.getLabelsForLabeledObject(ILcdLayer aLayer,
Object aObject)
This method returns all
TLcdCollectedLabelInfo objects for the given labeled
object identified by the given ILcdLayer and Object . |
Modifier and Type | Method and Description |
---|---|
void |
TLcdCollectedLabelInfoList.addLabel(TLcdCollectedLabelInfo aLabel)
Adds the given label to this label infos object.
|
void |
ILcdCollectedLabelInfoDependencyProvider.getDependingLabels(TLcdCollectedLabelInfo aLabel,
TLcdCollectedLabelInfoList aLabelInfoList,
List<TLcdCollectedLabelInfo> aDependingLabelsSFCT)
This method adds all
TLcdCollectedLabelInfo objects that depend on the given
TLcdCollectedLabelInfo objects to the given list. |
Modifier and Type | Method and Description |
---|---|
void |
ILcdCollectedLabelInfoDependencyProvider.getDependingLabels(TLcdCollectedLabelInfo aLabel,
TLcdCollectedLabelInfoList aLabelInfoList,
List<TLcdCollectedLabelInfo> aDependingLabelsSFCT)
This method adds all
TLcdCollectedLabelInfo objects that depend on the given
TLcdCollectedLabelInfo objects to the given list. |
void |
TLcdCollectedLabelInfoList.sortLabels(Comparator<TLcdCollectedLabelInfo> aComparator)
This method sorts the labels in this
TLcdCollectedLabelInfoList object using
the given comparator. |
Constructor and Description |
---|
TLcdLabelPlacement(TLcdCollectedLabelInfo aLabel)
Creates a new
TLcdLabelPlacement for the given label. |
Modifier and Type | Method and Description |
---|---|
void |
ILcdLabelPlacementEvaluator.noPlacementApplied(TLcdCollectedLabelInfo aLabel,
List<TLcdLabelPlacement> aPlacedLabels)
This method can be called to notify that no
TLcdLabelPlacement is chosen as
placement for the given label. |