public static enum ALcdScaleIndicator.Representation extends Enum<ALcdScaleIndicator.Representation>
ALcdScaleIndicator.setScaleRepresentation(com.luciad.view.swing.ALcdScaleIndicator.Representation)
.Enum Constant and Description |
---|
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.
|
FRACTION
The map scale is represented as a unit-less fraction of screen distance to world distance,
for example "1 : 100.000".
|
Modifier and Type | Method and Description |
---|---|
static ALcdScaleIndicator.Representation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ALcdScaleIndicator.Representation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ALcdScaleIndicator.Representation FRACTION
public static final ALcdScaleIndicator.Representation BAR
public static ALcdScaleIndicator.Representation[] values()
for (ALcdScaleIndicator.Representation c : ALcdScaleIndicator.Representation.values()) System.out.println(c);
public static ALcdScaleIndicator.Representation 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