Package com.palantir.ptoss.cinch.swing
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 anChangeListener
. Normally used for any sort ofJButton
or for aJTextField
.
-
-
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 theBindingContext
.
-
-