Enum Class UIChartEvent.Type

java.lang.Object
java.lang.Enum<UIChartEvent.Type>
com.iizix.api.ui.UIChartEvent.Type
All Implemented Interfaces:
Serializable, Comparable<UIChartEvent.Type>, Constable
Enclosing class:
UIChartEvent

public static enum UIChartEvent.Type extends Enum<UIChartEvent.Type>
The types of the chart event.
Author:
Christopher Mindus
  • Enum Constant Details

    • CLICK

      public static final UIChartEvent.Type CLICK
      A click with the mouse, or a tap with a finger, on a data element (ChartOption.CLICK_EVENTS).
    • HOVER

      public static final UIChartEvent.Type HOVER
      The mouse pointer rests on a data element (ChartOption.HOVER_EVENTS). It replaces the previous HOVER: the pointer moved from one element to the next.
    • LEAVE

      public static final UIChartEvent.Type LEAVE
      The mouse pointer rests on no data element any more after a HOVER (ChartOption.HOVER_EVENTS). The plot, series and value are the ones the pointer left. It is also sent when the element went from under the pointer because its plot drew again (new values of a live series, a rebuilt chart).
  • Method Details

    • values

      public static UIChartEvent.Type[] 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 UIChartEvent.Type 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