Annotation Type VisibleIf


  • @Retention(RUNTIME)
    @Target(FIELD)
    public @interface VisibleIf
    A binding that will set the Visible state of the annotated component to the state of a model boolean. The component must have a "setVisible" 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
      VisibleIf.Type type
      Whether or not to invert the boolean.
    • Element Detail

      • to

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

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