|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<MapFlag> nl.tudelft.goal.ut2004.visualizer.options.MapFlag
public enum MapFlag
List of preferrences flags related to links between waypoints in unreal map.
Enum Constant Summary | |
---|---|
DOOR
|
|
FLY
|
|
FORCED
|
|
JUMP
|
|
LADDER
|
|
PLAYER_ONLY
|
|
PROSCRIBED
|
|
SPECIAL
|
|
SWIM
|
|
WALK
|
Method Summary | |
---|---|
boolean |
getDefault()
Get default value of this flag |
int |
getFlag()
Return int value that is used by unreal engine to represent this flag in waylinks. |
String |
getPrefKey()
Get preferences key for TimelinePanel. |
String |
toString()
|
static MapFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MapFlag[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MapFlag WALK
public static final MapFlag FLY
public static final MapFlag SWIM
public static final MapFlag JUMP
public static final MapFlag DOOR
public static final MapFlag SPECIAL
public static final MapFlag LADDER
public static final MapFlag PROSCRIBED
public static final MapFlag FORCED
public static final MapFlag PLAYER_ONLY
Method Detail |
---|
public static MapFlag[] values()
for (MapFlag c : MapFlag.values()) System.out.println(c);
public static MapFlag valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getPrefKey()
Get the value of preference through NbPreferences.forModule(TimelinePanel.class).getBoolean(String prefKey, boolean ifNothingSet)
public boolean getDefault()
public int getFlag()
public String toString()
toString
in class Enum<MapFlag>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |