Package com.luciad.view.swing
Enum Class ALcdScaleIndicator.Representation
java.lang.Object
java.lang.Enum<ALcdScaleIndicator.Representation>
com.luciad.view.swing.ALcdScaleIndicator.Representation
- All Implemented Interfaces:
Serializable
,Comparable<ALcdScaleIndicator.Representation>
,Constable
- Enclosing class:
ALcdScaleIndicator
public static enum ALcdScaleIndicator.Representation
extends Enum<ALcdScaleIndicator.Representation>
Enumeration of possible map scale representations. See
ALcdScaleIndicator.setScaleRepresentation(com.luciad.view.swing.ALcdScaleIndicator.Representation)
.- Since:
- 2020.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe map scale is represented by a bar of a certain length in pixels, along with its corresponding length in world distance in text on top of it.The map scale is represented as a unit-less fraction of screen distance to world distance, for example "1 : 100.000". -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ALcdScaleIndicator.Representation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FRACTION
The map scale is represented as a unit-less fraction of screen distance to world distance, for example "1 : 100.000". -
BAR
The map scale is represented by a bar of a certain length in pixels, along with its corresponding length in world distance in text on top of it.
-
-
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
-