Annotation Interface StyleAttribute


@Retention(RUNTIME) @Documented public @interface StyleAttribute
Annotation that can mark a field setter as a style attribute setter. This will be automatically processed by the Styles class when styles are applied to the object. For attributes where "lookupDefault" is true, if the style does not otherwise define that attribute value then a default for that type will be used by calling Styles.getDefault().
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
  • Element Details

    • value

      String value
    • lookupDefault

      boolean lookupDefault
      Default:
      true