Annotation Type OnChange


  • @Retention(RUNTIME)
    @Target(FIELD)
    public @interface OnChange
    A component binding that will call a method when an action occurs. This can be applied to any object that has an "addChangeListener" method that takes an ChangeListener. Normally used for any sort of JButton or for a JTextField.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String call
      The name of the method to call when the action occurs.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean onAdjust
      A boolean indicating whether or not we want to call this when the values is adjusting
    • Element Detail

      • call

        java.lang.String call
        The name of the method to call when the action occurs. Must be accessible in the BindingContext.
      • onAdjust

        boolean onAdjust
        A boolean indicating whether or not we want to call this when the values is adjusting
        Default:
        false