Enum InterfaceComponent.Type
- java.lang.Object
-
- java.lang.Enum<InterfaceComponent.Type>
-
- com.runemate.game.api.hybrid.local.hud.interfaces.InterfaceComponent.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InterfaceComponent.Type>
- Enclosing class:
- InterfaceComponent
public static enum InterfaceComponent.Type extends java.lang.Enum<InterfaceComponent.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOX
Also known as a boxCONTAINER
Also known as a layerLABEL
Also known as "text"LINE
MODEL
SPRITE
RuneLite calls it graphicSPRITE_GRID
Deprecated.TEXT_INVENTORY
Maybe an item list?TOOLTIP
UNDOCUMENTED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getId()
static InterfaceComponent.Type
resolve(int opcode)
static InterfaceComponent.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InterfaceComponent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTAINER
public static final InterfaceComponent.Type CONTAINER
Also known as a layer
-
SPRITE_GRID
@Deprecated public static final InterfaceComponent.Type SPRITE_GRID
Deprecated.Removed in 09th March 2023 game update
-
BOX
public static final InterfaceComponent.Type BOX
Also known as a box
-
LABEL
public static final InterfaceComponent.Type LABEL
Also known as "text"
-
SPRITE
public static final InterfaceComponent.Type SPRITE
RuneLite calls it graphic
-
MODEL
public static final InterfaceComponent.Type MODEL
-
TEXT_INVENTORY
public static final InterfaceComponent.Type TEXT_INVENTORY
Maybe an item list?
-
TOOLTIP
public static final InterfaceComponent.Type TOOLTIP
-
LINE
public static final InterfaceComponent.Type LINE
-
UNDOCUMENTED
public static final InterfaceComponent.Type UNDOCUMENTED
-
-
Method Detail
-
values
public static InterfaceComponent.Type[] 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 (InterfaceComponent.Type c : InterfaceComponent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InterfaceComponent.Type 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
-
resolve
public static InterfaceComponent.Type resolve(int opcode)
-
getId
public int getId()
-
-