Enum Class Cursor

java.lang.Object
java.lang.Enum<Cursor>
com.vaadin.flow.component.charts.model.Cursor
All Implemented Interfaces:
ChartEnum, Serializable, Comparable<Cursor>, Constable

public enum Cursor extends Enum<Cursor> implements ChartEnum
You can set the cursor to POINTER("pointer") if you have click events attached to the series, to signal to the user that the points and lines can be clicked. Defaults to NONE.
  • Enum Constant Details

    • POINTER

      public static final Cursor POINTER
    • NONE

      public static final Cursor NONE
  • Method Details

    • values

      public static Cursor[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Cursor valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Cursor>