Build 1.0_r1(from source)

android.view
Annotation Type ViewDebug.ExportedProperty


@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public static @interface ViewDebug.ExportedProperty

This annotation can be used to mark fields and methods to be dumped by the view server. Only non-void methods with no arguments can be annotated by this annotation.


Optional Element Summary
 boolean deepExport
          When deep export is turned on, this property is not dumped.
 ViewDebug.IntToString[] mapping
          A mapping can be defined to map int values to specific strings.
 String prefix
          The prefix to use on child properties when deep export is enabled
 boolean resolveId
          When resolveId is true, and if the annotated field/method return value is an int, the value is converted to an Android's resource name.
 

resolveId

public abstract boolean resolveId
When resolveId is true, and if the annotated field/method return value is an int, the value is converted to an Android's resource name.

Returns:
true if the property's value must be transformed into an Android resource name, false otherwise
Default:
false

mapping

public abstract ViewDebug.IntToString[] mapping
A mapping can be defined to map int values to specific strings. For instance, View.getVisibility() returns 0, 4 or 8. However, these values actually mean VISIBLE, INVISIBLE and GONE. A mapping can be used to see these human readable values:

Returns:
An array of int to String mappings
See Also:
ViewDebug.IntToString
Default:
{}

deepExport

public abstract boolean deepExport
When deep export is turned on, this property is not dumped. Instead, the properties contained in this property are dumped. Each child property is prefixed with the name of this property.

Returns:
true if the properties of this property should be dumped
See Also:
prefix()
Default:
false

prefix

public abstract String prefix
The prefix to use on child properties when deep export is enabled

Returns:
a prefix as a String
See Also:
deepExport()
Default:
""

Build 1.0_r1(from source)

Please submit a feedback, bug or feature