Package adams.gui.event
Enum SpreadSheetProcessorEvent.EventType
- java.lang.Object
-
- java.lang.Enum<SpreadSheetProcessorEvent.EventType>
-
- adams.gui.event.SpreadSheetProcessorEvent.EventType
-
- All Implemented Interfaces:
Serializable
,Comparable<SpreadSheetProcessorEvent.EventType>
- Enclosing class:
- SpreadSheetProcessorEvent
public static enum SpreadSheetProcessorEvent.EventType extends Enum<SpreadSheetProcessorEvent.EventType>
The type of event.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATA_IS_AVAILABLE
data has become available.DATA_IS_OUTPUT
data has been output.DATA_IS_PROCESSED
data has been processed.OUTPUT_DATA
data to be output.PROCESS_DATA
data to be processed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpreadSheetProcessorEvent.EventType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SpreadSheetProcessorEvent.EventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATA_IS_AVAILABLE
public static final SpreadSheetProcessorEvent.EventType DATA_IS_AVAILABLE
data has become available.
-
PROCESS_DATA
public static final SpreadSheetProcessorEvent.EventType PROCESS_DATA
data to be processed.
-
DATA_IS_PROCESSED
public static final SpreadSheetProcessorEvent.EventType DATA_IS_PROCESSED
data has been processed.
-
OUTPUT_DATA
public static final SpreadSheetProcessorEvent.EventType OUTPUT_DATA
data to be output.
-
DATA_IS_OUTPUT
public static final SpreadSheetProcessorEvent.EventType DATA_IS_OUTPUT
data has been output.
-
-
Method Detail
-
values
public static SpreadSheetProcessorEvent.EventType[] 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 (SpreadSheetProcessorEvent.EventType c : SpreadSheetProcessorEvent.EventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpreadSheetProcessorEvent.EventType 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
-
-