com.sibvisions.rad.ui.gwt.shared.event
Enum EventType

java.lang.Object
  extended by java.lang.Enum<EventType>
      extended by com.sibvisions.rad.ui.gwt.shared.event.EventType
All Implemented Interfaces:
Serializable, Comparable<EventType>

public enum EventType
extends Enum<EventType>

The EventType defines all possible events for client/server event handling.


Enum Constant Summary
Action
          send action event.
Delete
          delete data event.
InsertUpdate
          insert or update data event.
MetaData
          retrieve meta data event.
RowData
          retrieve row data.
RowSelect
          row selection event.
SetEditorValue
          sets the value of an editor.
Startup
          starts the application.
TableData
          retrieve table data.
WindowClosing
          send window closing event.
 
Method Summary
static EventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static 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

Startup

public static final EventType Startup
starts the application.


Action

public static final EventType Action
send action event.


WindowClosing

public static final EventType WindowClosing
send window closing event.


MetaData

public static final EventType MetaData
retrieve meta data event.


TableData

public static final EventType TableData
retrieve table data.


RowData

public static final EventType RowData
retrieve row data.


InsertUpdate

public static final EventType InsertUpdate
insert or update data event.


Delete

public static final EventType Delete
delete data event.


RowSelect

public static final EventType RowSelect
row selection event.


SetEditorValue

public static final EventType SetEditorValue
sets the value of an editor.

Method Detail

values

public static final 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(EventType c : 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 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 name


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.