|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<MapView.Scale> org.bukkit.map.MapView.Scale
public static enum MapView.Scale
An enum representing all possible scales a map can be set to.
Enum Constant Summary | |
---|---|
CLOSE
|
|
CLOSEST
|
|
FAR
|
|
FARTHEST
|
|
NORMAL
|
Method Summary | |
---|---|
byte |
getValue()
Get the raw value of this scale level. |
static MapView.Scale |
valueOf(byte value)
Get the scale given the raw 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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
public static final 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 namepublic static MapView.Scale valueOf(byte value)
value
- The raw scale
public byte getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |