Enum Class ILcdLabelPlacementEvaluator.PlacementResult
java.lang.Object
java.lang.Enum<ILcdLabelPlacementEvaluator.PlacementResult>
com.luciad.view.labeling.algorithm.discrete.ILcdLabelPlacementEvaluator.PlacementResult
- All Implemented Interfaces:
Serializable
,Comparable<ILcdLabelPlacementEvaluator.PlacementResult>
,Constable
- Enclosing interface:
ILcdLabelPlacementEvaluator
public static enum ILcdLabelPlacementEvaluator.PlacementResult
extends Enum<ILcdLabelPlacementEvaluator.PlacementResult>
Placement result for a label. This value can denote if a label is a valid placement or not,
and if one should try to evaluate other label placements or not.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThis placement result denotes that a placement is not a valid placement, and that no other label placement will be a valid placement.This placement result denotes that a placement is a valid placement, but a better placement is preferred.This placement result denotes that a placement is a valid placement, and can be used as placement for a label.This placement result denotes that a placement is not a valid placement, and should not be used as placement for a label. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
This placement result denotes that a placement is a valid placement, and can be used as placement for a label. When this result is returned, no other label placements should be tried as this is a valid one. -
FALLBACK
This placement result denotes that a placement is a valid placement, but a better placement is preferred. When this result is returned, other placements should be tried in order to find a better placement. When no better placement can be found, the fallback placement 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. When this result is returned, other placements should be tried in order to find a better placement. When no better placement can be found (and there is no fallback placement), no placement should be used for the label. -
FAILED
This placement result denotes that a placement is not a valid placement, and that no other label placement will be a valid placement. When this result is returned, no other placements should be tried in order to find a better placement. No placement should be used for the label.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-