public static enum TimelinePanel.MapFlag extends Enum<TimelinePanel.MapFlag>
| Enum Constant and Description |
|---|
DOOR |
FLY |
FORCED |
JUMP |
LADDER |
PLAYER_ONLY |
PROSCRIBED |
SPECIAL |
SWIM |
WALK |
| Modifier and Type | Method and Description |
|---|---|
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 TimelinePanel.MapFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimelinePanel.MapFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimelinePanel.MapFlag WALK
public static final TimelinePanel.MapFlag FLY
public static final TimelinePanel.MapFlag SWIM
public static final TimelinePanel.MapFlag JUMP
public static final TimelinePanel.MapFlag DOOR
public static final TimelinePanel.MapFlag SPECIAL
public static final TimelinePanel.MapFlag LADDER
public static final TimelinePanel.MapFlag PROSCRIBED
public static final TimelinePanel.MapFlag FORCED
public static final TimelinePanel.MapFlag PLAYER_ONLY
public static TimelinePanel.MapFlag[] values()
for (TimelinePanel.MapFlag c : TimelinePanel.MapFlag.values()) System.out.println(c);
public static TimelinePanel.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 nameNullPointerException - 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<TimelinePanel.MapFlag>Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.