Annotation Interface DependsOn


@Retention(RUNTIME) @Target({METHOD,FIELD}) @Documented public @interface DependsOn
Annotation used to specify conditions for this property. Apply this annotation to a field or button method.
The value contains an array of strings, with each string being the fully qualified path using dots '.' to the condition property. Any property in the array must be a Boolean.

For complex conditions, use
invalid reference
Config#addDependency(String, BooleanSupplier)
or
invalid reference
Property#addDisplayCondition(BooleanSupplier...)
.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details