public static enum IControlContraption.RotationMode extends java.lang.Enum<IControlContraption.RotationMode> implements INamedIconOptions
| Enum Constant and Description |
|---|
ROTATE_NEVER_PLACE |
ROTATE_PLACE |
ROTATE_PLACE_RETURNED |
| Modifier and Type | Method and Description |
|---|---|
AllIcons |
getIcon() |
java.lang.String |
getTranslationKey() |
static IControlContraption.RotationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IControlContraption.RotationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IControlContraption.RotationMode ROTATE_PLACE
public static final IControlContraption.RotationMode ROTATE_PLACE_RETURNED
public static final IControlContraption.RotationMode ROTATE_NEVER_PLACE
public static IControlContraption.RotationMode[] values()
for (IControlContraption.RotationMode c : IControlContraption.RotationMode.values()) System.out.println(c);
public static IControlContraption.RotationMode 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