[Java] Interface BindingUpdatable
- Authors:
- Danno Ferrin
- Since:
- Groovy 1.1
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
void |
bind() Causes automatic updating of bound values to be turned on. | |
void |
rebind() Causes the current bindings to be reset. | |
void |
reverseUpdate() If supported, Causes the values to be propagated from the target to the source, If not supported, an exception may be thrown | |
void |
unbind() Causes automatic updating of bound values to be turned off. | |
void |
update() Causes the values to be propagated from the source to the target |
Method Detail
public void bind()
Causes 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.
public void rebind()
Causes 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.
public void reverseUpdate()
If supported, Causes the values to be propagated from the target to the source, If not supported, an exception may be thrown
public void unbind()
Causes 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.
public void update()
Causes the values to be propagated from the source to the target
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/binding/BindingUpdatable.html