Package net.md_5.bungee.api.chat
Enum ClickEvent.Action
- All Implemented Interfaces:
Serializable
,Comparable<ClickEvent.Action>
- Enclosing class:
- ClickEvent
-
Enum Constant Summary
Enum ConstantDescriptionChange to the page number given byClickEvent.value
in a book.Copy the string given byClickEvent.value
into the player's clipboard.Open a file at the path given byClickEvent.value
.Open a url at the path given byClickEvent.value
.Run the command given byClickEvent.value
.Inserts the string given byClickEvent.value
into the player's text box. -
Method Summary
Modifier and TypeMethodDescriptionstatic ClickEvent.Action
Returns the enum constant of this type with the specified name.static ClickEvent.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OPEN_URL
Open a url at the path given byClickEvent.value
. -
OPEN_FILE
Open a file at the path given byClickEvent.value
. -
RUN_COMMAND
Run the command given byClickEvent.value
. -
SUGGEST_COMMAND
Inserts the string given byClickEvent.value
into the player's text box. -
CHANGE_PAGE
Change to the page number given byClickEvent.value
in a book. -
COPY_TO_CLIPBOARD
Copy the string given byClickEvent.value
into the player's clipboard.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-