Package org.codehaus.groovy.binding
Class MutualPropertyBinding
java.lang.Object
org.codehaus.groovy.binding.MutualPropertyBinding
- All Implemented Interfaces:
BindingUpdatable,FullBinding
@Deprecated public class MutualPropertyBinding extends Object implements FullBinding
Deprecated.
- Since:
- Groovy 1.6
-
Method Summary
Modifier and Type Method Description voidbind()Deprecated.Causes automatic updating of bound values to be turned on.ClosuregetConverter()Deprecated.ClosuregetReverseConverter()Deprecated.SourceBindinggetSourceBinding()Deprecated.TargetBindinggetTargetBinding()Deprecated.ClosuregetValidator()Deprecated.voidrebind()Deprecated.Causes the current bindings to be reset.protected voidrebuildBindings()Deprecated.voidreverseUpdate()Deprecated.If supported, Causes the values to be propagated from the target to the source, If not supported, an exception may be thrownvoidsetConverter(Closure converter)Deprecated.voidsetReverseConverter(Closure reverseConverter)Deprecated.voidsetSourceBinding(SourceBinding sourceBinding)Deprecated.voidsetTargetBinding(TargetBinding targetBinding)Deprecated.voidsetValidator(Closure validator)Deprecated.voidunbind()Deprecated.Causes automatic updating of bound values to be turned off.voidupdate()Deprecated.Causes the values to be propagated from the source to the target
-
Method Details
-
getSourceBinding
Deprecated.- Specified by:
getSourceBindingin interfaceFullBinding
-
getTargetBinding
Deprecated.- Specified by:
getTargetBindingin interfaceFullBinding
-
setSourceBinding
Deprecated.- Specified by:
setSourceBindingin interfaceFullBinding
-
setTargetBinding
Deprecated.- Specified by:
setTargetBindingin interfaceFullBinding
-
setValidator
Deprecated.- Specified by:
setValidatorin interfaceFullBinding
-
getValidator
Deprecated.- Specified by:
getValidatorin interfaceFullBinding
-
setConverter
Deprecated.- Specified by:
setConverterin interfaceFullBinding
-
getConverter
Deprecated.- Specified by:
getConverterin interfaceFullBinding
-
setReverseConverter
Deprecated.- Specified by:
setReverseConverterin interfaceFullBinding
-
getReverseConverter
Deprecated.- Specified by:
getReverseConverterin interfaceFullBinding
-
rebuildBindings
protected void rebuildBindings()Deprecated. -
bind
public void bind()Deprecated.Description copied from interface:BindingUpdatableCauses automatic updating of bound values to be turned on. This is idempotent between calls to unbind and rebind; i.e. multiple calls to bind will have only the effect of the first call.- Specified by:
bindin interfaceBindingUpdatable
-
unbind
public void unbind()Deprecated.Description copied from interface:BindingUpdatableCauses automatic updating of bound values to be turned off. This is idempotent between calls to bind and rebind; i.e. multiple calls to unbind will have only the effect of the first call.- Specified by:
unbindin interfaceBindingUpdatable
-
rebind
public void rebind()Deprecated.Description copied from interface:BindingUpdatableCauses the current bindings to be reset. If the binding is not bound, it is a no-op. If the binding is bound, it will be turned off, then turned on against current values.- Specified by:
rebindin interfaceBindingUpdatable
-
update
public void update()Deprecated.Description copied from interface:BindingUpdatableCauses the values to be propagated from the source to the target- Specified by:
updatein interfaceBindingUpdatable
-
reverseUpdate
public void reverseUpdate()Deprecated.Description copied from interface:BindingUpdatableIf supported, Causes the values to be propagated from the target to the source, If not supported, an exception may be thrown- Specified by:
reverseUpdatein interfaceBindingUpdatable
-