org.jdesktop.dataset.event
Enum TableChangeEvent.EventType

java.lang.Object
  extended by java.lang.Enum<TableChangeEvent.EventType>
      extended by org.jdesktop.dataset.event.TableChangeEvent.EventType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TableChangeEvent.EventType>
Enclosing class:
TableChangeEvent

public static enum TableChangeEvent.EventType
extends java.lang.Enum<TableChangeEvent.EventType>


Enum Constant Summary
COLUMN_ADDED
           
COLUMN_REMOVED
           
LOAD_COMPLETE
           
LOAD_STARTED
           
ROW_ADDED
           
ROW_DELETED
           
ROW_DISCARDED
           
SAVE_COMPLETE
           
SAVE_STARTED
           
TABLE_CLEARED
           
 
Method Summary
static TableChangeEvent.EventType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TableChangeEvent.EventType[] 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

LOAD_STARTED

public static final TableChangeEvent.EventType LOAD_STARTED

LOAD_COMPLETE

public static final TableChangeEvent.EventType LOAD_COMPLETE

SAVE_STARTED

public static final TableChangeEvent.EventType SAVE_STARTED

SAVE_COMPLETE

public static final TableChangeEvent.EventType SAVE_COMPLETE

TABLE_CLEARED

public static final TableChangeEvent.EventType TABLE_CLEARED

ROW_ADDED

public static final TableChangeEvent.EventType ROW_ADDED

ROW_DELETED

public static final TableChangeEvent.EventType ROW_DELETED

ROW_DISCARDED

public static final TableChangeEvent.EventType ROW_DISCARDED

COLUMN_ADDED

public static final TableChangeEvent.EventType COLUMN_ADDED

COLUMN_REMOVED

public static final TableChangeEvent.EventType COLUMN_REMOVED
Method Detail

values

public static final TableChangeEvent.EventType[] 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(TableChangeEvent.EventType c : TableChangeEvent.EventType.values())
        System.out.println(c);

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

valueOf

public static TableChangeEvent.EventType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2005 Sun Microsystems All Rights Reserved.