Package io.guise.framework.platform.web
Enum WebPlatformEventType
- java.lang.Object
-
- java.lang.Enum<WebPlatformEventType>
-
- io.guise.framework.platform.web.WebPlatformEventType
-
- All Implemented Interfaces:
com.globalmentor.lex.Identifier
,com.globalmentor.lex.Token
,java.io.Serializable
,java.lang.Comparable<WebPlatformEventType>
public enum WebPlatformEventType extends java.lang.Enum<WebPlatformEventType> implements com.globalmentor.lex.Identifier
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
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 namejava.lang.NullPointerException
- if the argument is null
-
-