IT. Expert System.

Android Reference

ViewDebug.ExportedProperty


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

      Optional Elements
      Modifier and Type Optional Element and Description
      String category
      Specifies the category the property falls into, such as measurement, layout, drawing, etc.
      boolean deepExport
      When deep export is turned on, this property is not dumped.
      ViewDebug.FlagToString[] flagMapping
      A flags mapping can be defined to map flags encoded in an integer to specific strings.
      ViewDebug.IntToString[] indexMapping
      A mapping can be defined to map array indices to specific strings.
      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.
    • Element Detail

      • 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:
        {}
      • indexMapping

        public abstract ViewDebug.IntToString[] indexMapping
        A mapping can be defined to map array indices to specific strings. A mapping can be used to see human readable values for the indices of an array:
        Returns:
        An array of int to String mappings
        See Also:
        ViewDebug.IntToString, mapping()
        Default:
        {}
      • flagMapping

        public abstract ViewDebug.FlagToString[] flagMapping
        A flags mapping can be defined to map flags encoded in an integer to specific strings. A mapping can be used to see human readable values for the flags of an integer:
        Returns:
        An array of int to String mappings
        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:
        ""
      • category

        public abstract String category
        Specifies the category the property falls into, such as measurement, layout, drawing, etc.
        Returns:
        the category as String
        Default:
        ""


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 10819 / . Delta: 0.02459 с