Annotation Type EnabledIf


  • @Retention(RUNTIME)
    @Target(FIELD)
    public @interface EnabledIf
    A binding that will set the enabled state of the annotated component to the state of a model boolean. The component must have a "setEnabled" method that takes a boolean.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String to
      The model boolean property to bind to.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      EnabledIf.Type type
      Whether or not to invert the boolean.
    • Element Detail

      • to

        java.lang.String to
        The model boolean property to bind to.
      • type

        EnabledIf.Type type
        Whether or not to invert the boolean.
        Default:
        com.palantir.ptoss.cinch.swing.EnabledIf.Type.NORMAL