Package net.md_5.bungee.api.chat

# Class ClickEvent

java.lang.Object
net.md_5.bungee.api.chat.ClickEvent

Direct Known Subclasses:
  `ClickEventCustom`

@NonExtendable public class ClickEvent extends Object

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static enum`
  `ClickEvent.Action`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ClickEvent(ClickEvent.Action action, String value)`
  Creates a new `ClickEvent` instance.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected boolean`
  `canEqual(Object other)`
  `boolean`
  `equals(Object o)`
  `ClickEvent.Action`
  `getAction()`
  The type of action to perform on click.
  `String`
  `getValue()`
  Depends on the action.
  `int`
  `hashCode()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### ClickEvent

    public ClickEvent(ClickEvent.Action action, String value)
    Creates a new `ClickEvent` instance.
    Parameters:
      `action` - The type of action to perform on click.
      `value` - Depends on the action.
    See Also:
      - `ClickEvent.Action`

- ## Method Details

  - ### getAction

    public ClickEvent.Action getAction()
    The type of action to perform on click.

  - ### getValue

    public String getValue()
    Depends on the action.
    See Also:
      - `ClickEvent.Action`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### canEqual

    protected boolean canEqual(Object other)

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`