|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.debug.client.DebugInfo
public class DebugInfo
Provides low-level functionality to support the creation of testing and diagnostic frameworks.
UIObject.ensureDebugId(String)
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_DEBUG_ID_PREFIX
|
Constructor Summary | |
---|---|
DebugInfo()
|
Method Summary | |
---|---|
static java.lang.String |
getDebugIdAttribute()
Returns the element attribute or property where the debug ID is set. |
static java.lang.String |
getDebugIdPrefix()
Returns the prefix string used for debug ids. |
static boolean |
isDebugIdAsProperty()
Returns true if the debug ID should be set as a property instead of an attribute. |
static boolean |
isDebugIdEnabled()
Returns true if debug IDs are enabled such that calls to UIObject.ensureDebugId(String) will
set DOM IDs on the UIObject and its
important sub elements. |
static void |
setDebugIdAttribute(java.lang.String attribute,
boolean asProperty)
Sets the element attribute to assign the debug ID. |
static void |
setDebugIdPrefix(java.lang.String prefix)
Sets the prefix string used for debug IDs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_DEBUG_ID_PREFIX
Constructor Detail |
---|
public DebugInfo()
Method Detail |
---|
public static java.lang.String getDebugIdAttribute()
isDebugIdAsProperty()
to
determine if the value is a property or attribute.
public static java.lang.String getDebugIdPrefix()
public static boolean isDebugIdAsProperty()
public static boolean isDebugIdEnabled()
UIObject.ensureDebugId(String)
will
set DOM IDs on the UIObject
and its
important sub elements.
UIObject.ensureDebugId(String)
public static void setDebugIdAttribute(java.lang.String attribute, boolean asProperty)
attribute
- an element propertyasProperty
- true to set the debug ID as a property instead of an
attributepublic static void setDebugIdPrefix(java.lang.String prefix)
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |