|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PageEvent>
com.smartgwt.client.types.PageEvent
public enum PageEvent
Events registerable via ${isc.DocUtils.linkForRef('classMethod:Page.setEvent')}
Enum Constant Summary | |
---|---|
CICK
Fires when the user clicks the mouse on the Page. |
|
DOUBLECLICK
Fires when the uesr double-clicks on the Page. |
|
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. |
|
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. |
Method Summary | |
---|---|
String |
getValue()
|
static PageEvent |
valueOf(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. |
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 |
---|
public static final PageEvent IDLE
public static final PageEvent LOAD
public static final PageEvent UNLOAD
public static final PageEvent RESIZE
public static final PageEvent MOUSEDOWN
public static final PageEvent RIGHTMOUSEDOWN
public static final PageEvent MOUSEMOVE
public static final PageEvent MOUSEUP
public static final PageEvent CICK
public static final PageEvent 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.
public static final PageEvent KEYPRESS
Method Detail |
---|
public static PageEvent[] values()
for (PageEvent c : PageEvent.values()) System.out.println(c);
public static PageEvent valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getValue()
getValue
in interface ValueEnum
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |