public static enum TLcdGXYContinuousLabelingAlgorithm.LabelMovementBehavior extends Enum<TLcdGXYContinuousLabelingAlgorithm.LabelMovementBehavior>
Enum Constant and Description |
---|
MINIMAL_MOVEMENT
Use this to avoid moving labels as much as possible.
|
OPTIMAL_SPREAD
Use this to ensure an optimal spread of labels across the screen.
|
REDUCED_MOVEMENT
Use this to avoid moving labels, but keep them close to their object.
|
Modifier and Type | Method and Description |
---|---|
static TLcdGXYContinuousLabelingAlgorithm.LabelMovementBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLcdGXYContinuousLabelingAlgorithm.LabelMovementBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLcdGXYContinuousLabelingAlgorithm.LabelMovementBehavior MINIMAL_MOVEMENT
public static final TLcdGXYContinuousLabelingAlgorithm.LabelMovementBehavior REDUCED_MOVEMENT
TLcdGXYContinuousLabelingAlgorithm.setDesiredRelativeLocation(java.awt.Point)
).
Two labels are repelled from each-other only when they overlap.public static final TLcdGXYContinuousLabelingAlgorithm.LabelMovementBehavior OPTIMAL_SPREAD
TLcdGXYContinuousLabelingAlgorithm.setDesiredRelativeLocation(java.awt.Point)
).
Also, two labels are repelled from each-other if they are nearby.public static TLcdGXYContinuousLabelingAlgorithm.LabelMovementBehavior[] values()
for (TLcdGXYContinuousLabelingAlgorithm.LabelMovementBehavior c : TLcdGXYContinuousLabelingAlgorithm.LabelMovementBehavior.values()) System.out.println(c);
public static TLcdGXYContinuousLabelingAlgorithm.LabelMovementBehavior valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null