Serializable
, Comparable<MapView.Scale>
public static enum MapView.Scale extends Enum<MapView.Scale>
Modifier and Type | Method | Description |
---|---|---|
byte |
getValue() |
Deprecated.
Magic value
|
static @Nullable MapView.Scale |
valueOf(byte value) |
Deprecated.
Magic value
|
static MapView.Scale |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static MapView.Scale[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapView.Scale CLOSEST
public static final MapView.Scale CLOSE
public static final MapView.Scale NORMAL
public static final MapView.Scale FAR
public static final MapView.Scale FARTHEST
public static MapView.Scale[] values()
for (MapView.Scale c : MapView.Scale.values()) System.out.println(c);
public static MapView.Scale 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@Deprecated @Nullable public static @Nullable MapView.Scale valueOf(byte value)
value
- The raw scale@Deprecated public byte getValue()
Copyright © 2020. All rights reserved.