Package sc.bind
Annotation Type BindSettings
-
@Target({TYPE,FIELD,METHOD}) @Retention(RUNTIME) public @interface BindSettings
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description int
forwardSlot
Set to the 0-based index of the parameter we treat as the forward value in a bi-directional method binding.boolean
modifyParam
When true, when the reverse binding fires, propagates the value through to the parameter's propertyjava.lang.String
reverseMethod
int
reverseSlot
Set to the 0-based index of the parameter we treat as the "reverse value" in a bi-directional method binding.
-
-
-
-
reverseSlot
int reverseSlot
Set to the 0-based index of the parameter we treat as the "reverse value" in a bi-directional method binding. When calling the parameter index of the reverseMethod which is populated by the current value of the property just before we call the reverse method. If modifyParam is true, after the reverse binding fires, we also set the value of any non-constant binding for this value. This use case is useful for say a static convert function where the method binding is getting the parameter value and then later setting it.- Default:
- -1
-
-