Enum Screen
- java.lang.Object
-
- java.lang.Enum<Screen>
-
- net.eternalclient.api.wrappers.trade.Screen
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
Screen.State
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description WidgetChild
getAcceptWidget()
WidgetChild
getCloseWidget()
int
getContainerId(boolean mine)
WidgetChild
getDeclineWidget()
static Screen
getOpened()
int
getPARENT_ID()
Deprecated.int
getParentId()
int
getPlayerInventorySlots()
int
getValue(boolean mine)
boolean
isOpen()
static Screen
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Screen[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Method Detail
-
values
public static Screen[] 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 (Screen c : Screen.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Screen 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
-
getOpened
public static Screen getOpened()
-
getParentId
public int getParentId()
-
getPARENT_ID
@Deprecated public int getPARENT_ID()
Deprecated.
-
isOpen
public boolean isOpen()
-
getPlayerInventorySlots
public int getPlayerInventorySlots()
-
getValue
public int getValue(boolean mine)
-
getCloseWidget
public WidgetChild getCloseWidget()
-
getAcceptWidget
public WidgetChild getAcceptWidget()
-
getDeclineWidget
public WidgetChild getDeclineWidget()
-
getContainerId
public int getContainerId(boolean mine)
-
-