Package net.md_5.bungee.api.chat.hover.content

# Class Text

java.lang.Object
net.md_5.bungee.api.chat.hover.content.Content
net.md_5.bungee.api.chat.hover.content.Text

public class Text extends Content

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Text(String value)`
  `Text(BaseComponent value)`
  `Text(BaseComponent[] value)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object o)`
  `Object`
  `getValue()`
  The value.
  `int`
  `hashCode()`
  `HoverEvent.Action`
  `requiredAction()`
  Required action for this content type.
  `String`
  `toString()`

  ### Methods inherited from class net.md_5.bungee.api.chat.hover.content.Content

  `assertAction, canEqual`

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

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

- ## Constructor Details

  - ### Text

    public Text(BaseComponent[] value)

  - ### Text

    public Text(BaseComponent value)

  - ### Text

    public Text(String value)

- ## Method Details

  - ### requiredAction

    public HoverEvent.Action requiredAction()
    Description copied from class: `Content`
    Required action for this content type.
    Specified by:
      `requiredAction` in class `Content`
    Returns:
      action

  - ### equals

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

  - ### hashCode

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

  - ### getValue

    public Object getValue()
    The value. May be a component or raw text depending on constructor used.

  - ### toString

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