| Enum Constant and Description |
|---|
CLICK Fires when the user clicks the mouse on the Page. |
DOUBLECLICK Fires when the uesr double-clicks on the Page. |
FONTLOADINGFAILED Fires after a timeout if the FontLoader fails to load all custom fonts. |
FONTSLOADED Fires when the FontLoader completes loading custom fonts. |
IDLE Fires repeatedly (every 10 ms by default) when the system is idle (i.e., not busy running other scripts) after the page is loaded. |
KEYPRESS Fires when a user presses a key on the keyboard. |
LOAD Fires when the page has finished loading. |
MOUSEDOWN Fires when the left mouse button is pressed on the Page. |
MOUSEMOVE Fires when the mouse moves on the Page. |
MOUSEUP Fires when the left mouse button released on the Page. |
ORIENTATIONCHANGE Fires when the Page.getOrientation() changes due to browser-window resize or rotation of a mobile device. |
RESIZE Fires when the browser window is resized by the user. |
RIGHTMOUSEDOWN Fires when the right mouse button is pressed on the Page. |
SHOWCONTEXTMENU Fires when the right mouse button is clicked on the page. |
UNLOAD Fires when the page is exited or unloaded. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String | getValue() |
static PageEvent | valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static PageEvent[] | values() Returns an array containing the constants of this enum type, in the order they are declared. |
public static final PageEvent IDLE
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "idle".
public static final PageEvent LOAD
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "load".
public static final PageEvent UNLOAD
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "unload".
public static final PageEvent RESIZE
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "resize".
public static final PageEvent MOUSEDOWN
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "mouseDown".
public static final PageEvent RIGHTMOUSEDOWN
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "rightMouseDown".
public static final PageEvent MOUSEMOVE
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "mouseMove".
public static final PageEvent MOUSEUP
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "mouseUp".
public static final PageEvent CLICK
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "click".
public static final PageEvent DOUBLECLICK
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "doubleClick".
public static final PageEvent SHOWCONTEXTMENU
Command+Click may be used instead of right-button click to trigger a context menu event.Ctrl+Shift+Click should be used instead of right-button click. If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "showContextMenu".
public static final PageEvent KEYPRESS
If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "keyPress".
public static final PageEvent ORIENTATIONCHANGE
Page.getOrientation() changes due to browser-window resize or rotation of a mobile device. If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "orientationChange".
public static final PageEvent FONTSLOADED
FontLoader completes loading custom fonts. If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "fontsLoaded".
public static final PageEvent FONTLOADINGFAILED
FontLoader fails to load all custom fonts. see classMethod:Page.setEvent() see classMethod:Page.clearEvent() If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "fontLoadingFailed".
public static PageEvent[] values()
for (PageEvent c : PageEvent.values()) System.out.println(c);
public static PageEvent valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null