Package org.codehaus.groovy.binding
Class AggregateBinding
java.lang.Object
org.codehaus.groovy.binding.AggregateBinding
- All Implemented Interfaces:
BindingUpdatable
@Deprecated public class AggregateBinding extends java.lang.Object implements BindingUpdatable
Deprecated.
An aggregation of multiple bindings
- Since:
- Groovy 1.6
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Set<BindingUpdatable>bindingsDeprecated.protected booleanboundDeprecated. -
Constructor Summary
Constructors Constructor Description AggregateBinding()Deprecated. -
Method Summary
Modifier and Type Method Description voidaddBinding(BindingUpdatable binding)Deprecated.voidbind()Deprecated.Causes automatic updating of bound values to be turned on.voidrebind()Deprecated.Causes the current bindings to be reset.voidremoveBinding(BindingUpdatable binding)Deprecated.voidreverseUpdate()Deprecated.If supported, Causes the values to be propagated from the target to the source, If not supported, an exception may be thrownvoidunbind()Deprecated.Causes automatic updating of bound values to be turned off.voidupdate()Deprecated.Causes the values to be propagated from the source to the targetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
bound
protected boolean boundDeprecated. -
bindings
Deprecated.
-
-
Constructor Details
-
AggregateBinding
public AggregateBinding()Deprecated.
-
-
Method Details
-
addBinding
Deprecated. -
removeBinding
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
-