public class DebugInfo extends 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 String |
DEFAULT_DEBUG_ID_PREFIX |
Constructor and Description |
---|
DebugInfo() |
Modifier and Type | Method and Description |
---|---|
static String |
getDebugIdAttribute()
Returns the element attribute or property where the debug ID is set.
|
static 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(String attribute,
boolean asProperty)
Sets the element attribute to assign the debug ID.
|
static void |
setDebugIdPrefix(String prefix)
Sets the prefix string used for debug IDs.
|
public static boolean isDebugIdAsProperty
public static final String DEFAULT_DEBUG_ID_PREFIX
public static String getDebugIdAttribute()
isDebugIdAsProperty()
to
determine if the value is a property or attribute.public static 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(String attribute, boolean asProperty)
attribute
- an element propertyasProperty
- true to set the debug ID as a property instead of an
attributepublic static void setDebugIdPrefix(String prefix)
Copyright © 2018. All rights reserved.