Class HoverEvent.Action<V>

  • Type Parameters:
    V - the value type an action handles
    Enclosing class:
    HoverEvent<V>

    public static final class HoverEvent.Action<V>
    extends java.lang.Object
    An enumeration of hover event actions.
    Since:
    4.0.0
    • Method Detail

      • type

        @NotNull
        public @NotNull java.lang.Class<V> type()
        Gets the value type.
        Returns:
        the value type
        Since:
        4.0.0
      • readable

        public boolean readable()
        Tests if this action is readable.
        Returns:
        true if this action is readable, false if this action is not readable
        Since:
        4.0.0
      • toString

        @NotNull
        public @NotNull java.lang.String toString()
        Overrides:
        toString in class java.lang.Object