com.guiseframework.platform.web
Enum WebPlatformEventType

java.lang.Object
  extended by java.lang.Enum<WebPlatformEventType>
      extended by com.guiseframework.platform.web.WebPlatformEventType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WebPlatformEventType>

public enum WebPlatformEventType
extends java.lang.Enum<WebPlatformEventType>

The type of event received from the web platform. The name of the XML element in which the event is serialized will be the serialized from of the event type name.

Author:
Garret Wilson
See Also:
Enums.getSerializedEnum(Class, String)

Enum Constant Summary
ACTION
          An action on a component.
CHANGE
          A property change on a component.
DROP
          The end of a drag-and-drop operation.
FOCUS
          A focus change.
INIT
          Information resulting from form changes, analogous to that in an HTTP POST.
KEYPRESS
          A key pressed anywhere.
KEYRELEASE
          A key released anywhere.
LOG
          Sends debug information to the server.
MOUSECLICK
          A mouse click event related to a component.
MOUSEENTER
          A mouse enter event related to a component.
MOUSEEXIT
          A mouse exit event related to a component.
POLL
          Polls the server to check for updates.
 
Method Summary
static WebPlatformEventType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WebPlatformEventType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ACTION

public static final WebPlatformEventType ACTION
An action on a component.


CHANGE

public static final WebPlatformEventType CHANGE
A property change on a component.


DROP

public static final WebPlatformEventType DROP
The end of a drag-and-drop operation.


FOCUS

public static final WebPlatformEventType FOCUS
A focus change.


INIT

public static final WebPlatformEventType INIT
Information resulting from form changes, analogous to that in an HTTP POST.


KEYPRESS

public static final WebPlatformEventType KEYPRESS
A key pressed anywhere.


KEYRELEASE

public static final WebPlatformEventType KEYRELEASE
A key released anywhere.


LOG

public static final WebPlatformEventType LOG
Sends debug information to the server.


MOUSECLICK

public static final WebPlatformEventType MOUSECLICK
A mouse click event related to a component.


MOUSEENTER

public static final WebPlatformEventType MOUSEENTER
A mouse enter event related to a component.


MOUSEEXIT

public static final WebPlatformEventType MOUSEEXIT
A mouse exit event related to a component.


POLL

public static final WebPlatformEventType POLL
Polls the server to check for updates.

Method Detail

values

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

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

valueOf

public static WebPlatformEventType 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
java.lang.NullPointerException - if the argument is null


Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.