Enum LockIconButton.Icon
- java.lang.Object
-
- java.lang.Enum<LockIconButton.Icon>
-
- net.minecraft.client.gui.widget.button.LockIconButton.Icon
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LockIconButton.Icon>
- Enclosing class:
- LockIconButton
static enum LockIconButton.Icon extends java.lang.Enum<LockIconButton.Icon>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LOCKED
LOCKED_DISABLED
LOCKED_HOVER
UNLOCKED
UNLOCKED_DISABLED
UNLOCKED_HOVER
-
Constructor Summary
Constructors Modifier Constructor Description private
Icon(int p_i45537_3_, int p_i45537_4_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getX()
int
getY()
static LockIconButton.Icon
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LockIconButton.Icon[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCKED
public static final LockIconButton.Icon LOCKED
-
LOCKED_HOVER
public static final LockIconButton.Icon LOCKED_HOVER
-
LOCKED_DISABLED
public static final LockIconButton.Icon LOCKED_DISABLED
-
UNLOCKED
public static final LockIconButton.Icon UNLOCKED
-
UNLOCKED_HOVER
public static final LockIconButton.Icon UNLOCKED_HOVER
-
UNLOCKED_DISABLED
public static final LockIconButton.Icon UNLOCKED_DISABLED
-
-
Method Detail
-
values
public static LockIconButton.Icon[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LockIconButton.Icon c : LockIconButton.Icon.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LockIconButton.Icon valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getX
public int getX()
-
getY
public int getY()
-
-