|
GWT Tk 0.2.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectasquare.gwt.debug.client.DebugUtil
public class DebugUtil
Contains debugging utility methods.
| Constructor Summary | |
|---|---|
DebugUtil()
|
|
| Method Summary | |
|---|---|
static String |
getTagName(Element element)
Get the HTML tag name. |
static String |
getTagName(UIObject uio)
Get the HTML tag name of the specified UIObject's element. |
static String |
prettyPrintElement(Element element)
Get a short description of the element. |
static String |
prettyPrintEvent(Event event)
Creates a human readable String describing the specified event. |
static String |
prettyPrintEventMask(int eventMask)
Renders an event bitmask as a human readable String. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DebugUtil()
| Method Detail |
|---|
public static String prettyPrintEventMask(int eventMask)
eventMask -
eventMask is 0public static String prettyPrintEvent(Event event)
event - an Event
event, or
"null" if event is nullpublic static String getTagName(Element element)
element - a DOM element
element is nullpublic static String getTagName(UIObject uio)
uio - a UIObject
null if
uio is null.public static String prettyPrintElement(Element element)
element - a DOM element or null
null if element is null
|
GWT Tk 0.2.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||