|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.widgetideas.client.overrides.DOMHelper
public class DOMHelper
Useful DOM methods not included in Window
or DOM
.
Field Summary | |
---|---|
static int |
OTHER_KEY_DOWN
|
static int |
OTHER_KEY_LEFT
|
static int |
OTHER_KEY_RIGHT
|
static int |
OTHER_KEY_UP
|
Constructor Summary | |
---|---|
DOMHelper()
|
Method Summary | |
---|---|
static com.google.gwt.user.client.Element |
clone(com.google.gwt.user.client.Element elem,
boolean deep)
Clones a DOM element. |
static boolean |
confirm(java.lang.String msg)
Displays a message in a modal dialog box. |
static com.google.gwt.user.client.Element |
getRecursiveFirstChild(com.google.gwt.user.client.Element elem,
int index)
|
static boolean |
isArrowKey(int code)
|
static com.google.gwt.user.client.Element |
rawFirstChild(com.google.gwt.user.client.Element elem)
Gets the first child. |
static int |
standardizeKeycode(int code)
Normalized key codes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int OTHER_KEY_UP
public static final int OTHER_KEY_DOWN
public static final int OTHER_KEY_LEFT
public static final int OTHER_KEY_RIGHT
Constructor Detail |
---|
public DOMHelper()
Method Detail |
---|
public static com.google.gwt.user.client.Element clone(com.google.gwt.user.client.Element elem, boolean deep)
public static boolean confirm(java.lang.String msg)
msg
- the message to be displayed.public static com.google.gwt.user.client.Element getRecursiveFirstChild(com.google.gwt.user.client.Element elem, int index)
public static boolean isArrowKey(int code)
public static com.google.gwt.user.client.Element rawFirstChild(com.google.gwt.user.client.Element elem)
public static int standardizeKeycode(int code)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |