public class DebugInfo
extends java.lang.Object
UIObject.ensureDebugId(String)
Type | Property and Description |
---|---|
static boolean |
isDebugIdAs
Gets the value of the property debugIdAsProperty.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_DEBUG_ID_PREFIX |
Constructor and Description |
---|
DebugInfo() |
Modifier and Type | Method and Description |
---|---|
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()
Gets the value of the property debugIdAsProperty.
|
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.
|
public static boolean isDebugIdAsProperty
public static final java.lang.String DEFAULT_DEBUG_ID_PREFIX
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)