csheets
Enum SpreadsheetAppEvent.Type

java.lang.Object
  extended by java.lang.Enum<SpreadsheetAppEvent.Type>
      extended by csheets.SpreadsheetAppEvent.Type
All Implemented Interfaces:
Serializable, Comparable<SpreadsheetAppEvent.Type>
Enclosing class:
SpreadsheetAppEvent

public static enum SpreadsheetAppEvent.Type
extends Enum<SpreadsheetAppEvent.Type>

The types of events that are fired from a spreadsheet application


Enum Constant Summary
CREATED
          Denotes that a workbook was created
LOADED
          Denotes that a workbook was loaded
SAVED
          Denotes that a workbook was saved
UNLOADED
          Denotes that a workbook was unloaded
 
Method Summary
static SpreadsheetAppEvent.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SpreadsheetAppEvent.Type[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CREATED

public static final SpreadsheetAppEvent.Type CREATED
Denotes that a workbook was created


LOADED

public static final SpreadsheetAppEvent.Type LOADED
Denotes that a workbook was loaded


UNLOADED

public static final SpreadsheetAppEvent.Type UNLOADED
Denotes that a workbook was unloaded


SAVED

public static final SpreadsheetAppEvent.Type SAVED
Denotes that a workbook was saved

Method Detail

values

public static final SpreadsheetAppEvent.Type[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(SpreadsheetAppEvent.Type c : SpreadsheetAppEvent.Type.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static SpreadsheetAppEvent.Type 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 name