public interface FullBinding
extends BindingUpdatable
Coordinates value propagation between a SourceBinding and a TargetBinding.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Closure |
getConverter()Returns the forward converter used before writing to the target. |
|
public Closure |
getReverseConverter()Returns the reverse converter used during reverse updates. |
|
public SourceBinding |
getSourceBinding()Returns the source side of the binding. |
|
public TargetBinding |
getTargetBinding()Returns the target side of the binding. |
|
public Closure |
getValidator()Returns the validator used before forward propagation. |
|
public void |
setConverter(Closure converter)Sets the forward converter used before writing to the target. |
|
public void |
setReverseConverter(Closure reverseConverter)Sets the reverse converter used before writing back to the source. |
|
public void |
setSourceBinding(SourceBinding source)Replaces the source side of the binding. |
|
public void |
setTargetBinding(TargetBinding target)Replaces the target side of the binding. |
|
public void |
setValidator(Closure validator)Sets a validator invoked before propagating source values to the target. |
| Methods inherited from class | Name |
|---|---|
interface BindingUpdatable |
bind, rebind, reverseUpdate, unbind, update |
Returns the forward converter used before writing to the target.
nullReturns the reverse converter used during reverse updates.
nullReturns the source side of the binding.
Returns the target side of the binding.
Returns the validator used before forward propagation.
nullSets the forward converter used before writing to the target.
converter - the forward converter, or nullSets the reverse converter used before writing back to the source.
reverseConverter - the reverse converter, or nullReplaces the source side of the binding.
source - the new source bindingReplaces the target side of the binding.
target - the new target bindingSets a validator invoked before propagating source values to the target.
validator - the validation closure, or null