- java.lang.Object
-
- java.lang.Enum<ChartChangeEventType>
-
- org.jfree.chart.event.ChartChangeEventType
-
- All Implemented Interfaces:
Serializable,Comparable<ChartChangeEventType>
public enum ChartChangeEventType extends Enum<ChartChangeEventType>
Defines tokens used to indicate an event type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATASET_UPDATEDDATASET_UPDATED.GENERALGENERAL.NEW_DATASETNEW_DATASET.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ChartChangeEventTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ChartChangeEventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GENERAL
public static final ChartChangeEventType GENERAL
GENERAL.
-
NEW_DATASET
public static final ChartChangeEventType NEW_DATASET
NEW_DATASET.
-
DATASET_UPDATED
public static final ChartChangeEventType DATASET_UPDATED
DATASET_UPDATED.
-
-
Method Detail
-
values
public static ChartChangeEventType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ChartChangeEventType c : ChartChangeEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChartChangeEventType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-