public static enum ILspLabelPlacementEvaluator.PlacementResult extends Enum<ILspLabelPlacementEvaluator.PlacementResult>
ALspDiscreteLabelingAlgorithm
used this value to determine if a placement is valid or not, and if it should try to evaluate
other placements or not.Enum Constant and Description |
---|
FAILED
This placement result denotes that a placement is not a valid placement, and that no other
placement will be a valid placement.
|
FALLBACK
This placement result denotes that a placement is a valid placement, but a better placement
is preferred.
|
SUCCESS
This placement result denotes that a placement is a valid placement, and can be used as
placement for a label.
|
TRY_NEW_PLACEMENT
This placement result denotes that a placement is not a valid placement, and should not be
used as placement for a label.
|
Modifier and Type | Method and Description |
---|---|
static ILspLabelPlacementEvaluator.PlacementResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ILspLabelPlacementEvaluator.PlacementResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ILspLabelPlacementEvaluator.PlacementResult SUCCESS
public static final ILspLabelPlacementEvaluator.PlacementResult FALLBACK
public static final ILspLabelPlacementEvaluator.PlacementResult TRY_NEW_PLACEMENT
public static final ILspLabelPlacementEvaluator.PlacementResult FAILED
public static ILspLabelPlacementEvaluator.PlacementResult[] values()
for (ILspLabelPlacementEvaluator.PlacementResult c : ILspLabelPlacementEvaluator.PlacementResult.values()) System.out.println(c);
public static ILspLabelPlacementEvaluator.PlacementResult 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