public static enum TLspContinuousLabelingAlgorithm.LabelMovementBehavior extends Enum<TLspContinuousLabelingAlgorithm.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 TLspContinuousLabelingAlgorithm.LabelMovementBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLspContinuousLabelingAlgorithm.LabelMovementBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLspContinuousLabelingAlgorithm.LabelMovementBehavior MINIMAL_MOVEMENT
public static final TLspContinuousLabelingAlgorithm.LabelMovementBehavior REDUCED_MOVEMENT
TLspContinuousLabelingAlgorithm.setDesiredRelativeLocation(java.awt.Point)
).
Two labels are repelled from each-other only when they overlap.public static final TLspContinuousLabelingAlgorithm.LabelMovementBehavior OPTIMAL_SPREAD
TLspContinuousLabelingAlgorithm.setDesiredRelativeLocation(java.awt.Point)
).
Also, two labels are repelled from each-other if they are nearby.public static TLspContinuousLabelingAlgorithm.LabelMovementBehavior[] values()
for (TLspContinuousLabelingAlgorithm.LabelMovementBehavior c : TLspContinuousLabelingAlgorithm.LabelMovementBehavior.values()) System.out.println(c);
public static TLspContinuousLabelingAlgorithm.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