Annotation Interface FlatStylingSupport.StyleableField

Enclosing class:
FlatStylingSupport

@Target(TYPE) @Retention(RUNTIME) @Repeatable(StyleableFields.class) public static @interface FlatStylingSupport.StyleableField
Indicates that a field in the specified (super) class is intended to be used by FlatLaf styling support.

Use this annotation, instead of FlatStylingSupport.Styleable, to style fields in superclasses, where it is not possible to use FlatStylingSupport.Styleable.

Classes using this annotation may implement FlatStylingSupport.StyleableLookupProvider to give access to protected fields (in JRE) in modular applications.

Since:
2.5
  • Required Element Summary

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

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details