Package com.storedobject.chart
Enum Class EventType
- All Implemented Interfaces:
Serializable
,Comparable<EventType>
,Constable
Represents the type of event that can occur on a chart / part.
- Author:
- Syam
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents a "blank area click event type" that occurs when a blank area within the chart is clicked.Represents a click event type that can occur on a chart.Represents a double-click event type that can occur on a chart.Represents a "legend select changed" event type that can occur on a chart.Represents a mouse-over event type that can occur on a chart.Represents a right-click event type that can occur on a chart. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the category associated with this event type.getName()
Gets the name associated with this event type.static EventType
Returns the enum constant of this class with the specified name.static EventType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BlankAreaClick
Represents a "blank area click event type" that occurs when a blank area within the chart is clicked. -
Click
Represents a click event type that can occur on a chart. -
DoubleClick
Represents a double-click event type that can occur on a chart. -
MouseOver
Represents a mouse-over event type that can occur on a chart. -
RightClick
Represents a right-click event type that can occur on a chart. This event is triggered typically when the "context menu" action is initiated, often through a right-click gesture using a mouse. -
Legend
Represents a "legend select changed" event type that can occur on a 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
-
getName
Gets the name associated with this event type.- Returns:
- The name of the event type as a string.
-
getCategory
Retrieves the category associated with this event type.- Returns:
- the event category corresponding to this event type.
-