public static enum IControlContraption.MovementMode extends java.lang.Enum<IControlContraption.MovementMode> implements INamedIconOptions
| Enum Constant and Description |
|---|
MOVE_NEVER_PLACE |
MOVE_PLACE |
MOVE_PLACE_RETURNED |
| Modifier and Type | Method and Description |
|---|---|
AllIcons |
getIcon() |
java.lang.String |
getTranslationKey() |
static IControlContraption.MovementMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IControlContraption.MovementMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IControlContraption.MovementMode MOVE_PLACE
public static final IControlContraption.MovementMode MOVE_PLACE_RETURNED
public static final IControlContraption.MovementMode MOVE_NEVER_PLACE
public static IControlContraption.MovementMode[] values()
for (IControlContraption.MovementMode c : IControlContraption.MovementMode.values()) System.out.println(c);
public static IControlContraption.MovementMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic AllIcons getIcon()
getIcon in interface INamedIconOptionspublic java.lang.String getTranslationKey()
getTranslationKey in interface INamedIconOptions