public static enum ClickableText.Action extends Enum<ClickableText.Action>
Enum Constant and Description |
---|
CHANGE_PAGE |
OPEN_FILE |
OPEN_URL |
RUN_COMMAND |
SHOW_ACHIEVEMENT |
SHOW_ENTITY |
SHOW_ITEM |
SHOW_TEXT |
SUGGEST_COMMAND |
TWITCH_USER_INFO |
Modifier and Type | Method and Description |
---|---|
static ClickableText.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClickableText.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClickableText.Action SHOW_TEXT
public static final ClickableText.Action SHOW_ENTITY
public static final ClickableText.Action SHOW_ACHIEVEMENT
public static final ClickableText.Action SHOW_ITEM
public static final ClickableText.Action OPEN_URL
public static final ClickableText.Action OPEN_FILE
public static final ClickableText.Action RUN_COMMAND
public static final ClickableText.Action SUGGEST_COMMAND
public static final ClickableText.Action CHANGE_PAGE
public static final ClickableText.Action TWITCH_USER_INFO
public static ClickableText.Action[] values()
for (ClickableText.Action c : ClickableText.Action.values()) System.out.println(c);
public static ClickableText.Action valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null