Field Summary |
|
final public static String | BEFOREUNLOAD The browser native event type beforeunload. |
final public static String | BLUR The browser native event type blur. |
final public static String | CHANGE The browser native event type change. |
final public static String | CLICK The browser native event type click. |
final public static String | DOUBLECLICK The browser native event type dblclick. |
final public static String | ERROR The browser native event type error. |
final public static String | FOCUS The browser native event type focus. |
final public static String | KEYDOWN The browser native event type keydown. |
final public static String | KEYPRESS The browser native event type keypress. |
final public static String | KEYUP The browser native event type keyup. |
final public static int | KEY_0 The browser native key code for the 0 key. |
final public static int | KEY_9 The browser native key code for the 9 key. |
final public static int | KEY_A The browser native key code for the A key. |
final public static int | KEY_ALT The browser native key code for the Alt key. |
final public static int | KEY_ARROW_DOWN The browser native key code for the down arrow key. |
final public static int | KEY_ARROW_LEFT The browser native key code for the left arrow key. |
final public static int | KEY_ARROW_RIGHT The browser native key code for the right arrow key. |
final public static int | KEY_ARROW_UP The browser native key code for the up arrow key. |
final public static int | KEY_BACKSPACE The browser native key code for the Backspace key. |
final public static int | KEY_CONTROL The browser native key code for the Ctrl key. |
final public static int | KEY_DELETE The browser native key code for the Delete key. |
final public static int | KEY_END The browser native key code for the End key. |
final public static int | KEY_ENTER The browser native key code for the Enter key. |
final public static int | KEY_ESCAPE The browser native key code for the Esc key. |
final public static int | KEY_F1 The browser native key code for the F1 key. |
final public static int | KEY_F15 The browser native key code for the F15 key. |
final public static int | KEY_HOME The browser native key code for the Home key. |
final public static int | KEY_INSERT The browser native key code for the Insert key. |
final public static int | KEY_META The browser native key code for the Meta key. |
final public static int | KEY_NP0 The browser native key code for the number pad 0 key. |
final public static int | KEY_NP9 The browser native key code for the number pad 9 key. |
final public static int | KEY_NPADD The browser native key code for the number pad addition (+) key. |
final public static int | KEY_NPDEC The browser native key code for the number pad decimal (.) key. |
final public static int | KEY_NPDIV The browser native key code for the number pad division (/) key. |
final public static int | KEY_NPMUL The browser native key code for the number pad multiply (*) key. |
final public static int | KEY_NPSUB The browser native key code for the number pad subtract (-) key. |
final public static int | KEY_PAGE_DOWN The browser native key code for the Page Down key. |
final public static int | KEY_PAGE_UP The browser native key code for the Page Up key. |
final public static int | KEY_SHIFT The browser native key code for the Shift key. |
final public static int | KEY_SPACE The browser native key code for the space bar key. |
final public static int | KEY_TAB The browser native key code for the Tab key. |
final public static int | KEY_Z The browser native key code for the Z key. |
final public static String | LOAD The browser native event type load. |
final public static String | MOUSEDOWN The browser native event type mousedown. |
final public static String | MOUSEMOVE The browser native event type mousemove. |
final public static String | MOUSEOUT The browser native event type mouseout. |
final public static String | MOUSEOVER The browser native event type mouseover. |
final public static String | MOUSEUP The browser native event type mouseup. |
final public static String | MOUSEWHEEL The browser native event type mousewheel. |
final public static String | RESIZE The browser native event type resize. |
final public static String | UNLOAD The browser native event type unload. |
Method Summary |
|
public void | altKey(org.directwebremoting.proxy.Callback<Boolean> callback) Returns true if the alt key was pressed. |
public void | backspaceKey(org.directwebremoting.proxy.Callback<Boolean> callback) Returns true if the backspace key was pressed. |
public void | button(org.directwebremoting.proxy.Callback<Integer> callback) Returns integer designating the mouse button clicked/moused-down/moused-up; 1 (left), 2 (right), and as supported. |
public void | cancelBubble() Cancels event bubbling for the event. |
public void | cancelKey() Cancels the key from firing by setting the keyCode to 0 (zero) for the event. |
public void | cancelReturn() Cancels the return value for the event. |
public void | clientX(org.directwebremoting.proxy.Callback<Integer> callback) Returns the clientX property for the event (where it occurred on-screen). |
public void | clientY(org.directwebremoting.proxy.Callback<Integer> callback) Returns the clientY property for the event (where it occurred on-screen). |
public void | ctrlKey(org.directwebremoting.proxy.Callback<Boolean> callback) Returns true the ctrl key was pressed. |
public void | deleteKey(org.directwebremoting.proxy.Callback<Boolean> callback) Returns true if the delete key was pressed. |
public void | downArrow(org.directwebremoting.proxy.Callback<Boolean> callback) Returns true if the down-arrow key was pressed. |
public void | endKey(org.directwebremoting.proxy.Callback<Boolean> callback) Returns true if the end key was pressed. |
public void | enterKey(org.directwebremoting.proxy.Callback<Boolean> callback) Returns true if the enter key was pressed. |
public void | escapeKey(org.directwebremoting.proxy.Callback<Boolean> callback) Returns true if the escape key was pressed. |
public void | fromElement(org.directwebremoting.proxy.Callback<String> callback) Returns handle to the HTML element that was moused away from (onmouseout). |
public void | getTrueX(org.directwebremoting.proxy.Callback<Integer> callback) Returns the actual position in the browser from the left edge for where the event occurred. |
public void | getTrueY(org.directwebremoting.proxy.Callback<Integer> callback) Returns the actual position in the browser from the top edge for where the event occurred. |
public void | getType(org.directwebremoting.proxy.Callback<String> callback) Returns the type of event, e.g. |
public void | homeKey(org.directwebremoting.proxy.Callback<Boolean> callback) Returns true if the home key was pressed. |
public void | insertKey(org.directwebremoting.proxy.Callback<Boolean> callback) Returns true if the insert key was pressed. |
public void | isArrowKey(org.directwebremoting.proxy.Callback<Boolean> callback) Whether one of the four arrow keys was pressed. |
public void | isFunctionKey(org.directwebremoting.proxy.Callback<Boolean> callback) Whether one of the 15 function keys was pressed. |
public void | keyCode(org.directwebremoting.proxy.Callback<Integer> callback) Returns integer representing the key code of the key just pressed/keyed-down. |
public void | leftArrow(org.directwebremoting.proxy.Callback<Boolean> callback) Returns true if the left-arrow key was pressed. |
public void | leftButton(org.directwebremoting.proxy.Callback<Boolean> callback) Returns true if the left-mouse-button was clicked. |
public void | pageDownKey(org.directwebremoting.proxy.Callback<Boolean> callback) Returns true if the page-down key was pressed. |
public void | pageUpKey(org.directwebremoting.proxy.Callback<Boolean> callback) Returns true if the page-up key was pressed. |
public void | rightArrow(org.directwebremoting.proxy.Callback<Boolean> callback) |
public void | rightButton(org.directwebremoting.proxy.Callback<Boolean> callback) Returns true if the right-mouse-button was clicked. |
public void | setReturn(String strReturn) Sets the the return value for the event. |
public void | shiftKey(org.directwebremoting.proxy.Callback<Boolean> callback) Returns true if the shift key was pressed. |
public void | spaceKey(org.directwebremoting.proxy.Callback<Boolean> callback) Returns true if the space bar was pressed. |
public void | srcElement(org.directwebremoting.proxy.Callback<String> callback) Returns handle to the HTML element acted upon (click, mousedown, etc). |
public void | subscribe(String strEventId, java.lang.Object objHandler, java.lang.Object objFunction) Subscribes an event handler to events of type strEventId that bubble all the way up to the browser window.
Parameters: strEventId - the event type, e.g. |
public void | tabKey(org.directwebremoting.proxy.Callback<Boolean> callback) Returns true if the tab key was pressed. |
public void | toElement(org.directwebremoting.proxy.Callback<String> callback) Returns handle to the HTML element that was moused over (onmouseover). |
public void | unsubscribe(String strEventId, java.lang.Object objHandler) Unsubscribes an event handler from events of type strEventId that bubble all the way up to the browser window.
Parameters: strEventId - the event type, e.g. |
public void | unsubscribeAll(String strEventId) Unsubscribes all event handlers from a events of type strEventId that bubble all the way up to the browser window.
Parameters: strEventId - the event type, e.g. |
public void | upArrow(org.directwebremoting.proxy.Callback<Boolean> callback) Returns true if the up-arrow key was pressed. |