Enum Class UIChartEvent.Type
- All Implemented Interfaces:
Serializable, Comparable<UIChartEvent.Type>, Constable
- Enclosing class:
UIChartEvent
The types of the chart event.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsMethod Summary
Modifier and TypeMethodDescriptionstatic UIChartEvent.TypeReturns the enum constant of this class with the specified name.static UIChartEvent.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
CLICK
A click with the mouse, or a tap with a finger, on a data element (ChartOption.CLICK_EVENTS).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
The mouse pointer rests on no data element any more after aHOVER(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
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
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 nameNullPointerException- if the argument is null