Class MutualPropertyBinding

java.lang.Object
org.codehaus.groovy.binding.MutualPropertyBinding
All Implemented Interfaces:
BindingUpdatable, FullBinding

@Deprecated
public class MutualPropertyBinding
extends java.lang.Object
implements FullBinding
Deprecated.
Since:
Groovy 1.6
  • Method Summary

    Modifier and Type Method Description
    void bind()
    Deprecated.
    Causes automatic updating of bound values to be turned on.
    groovy.lang.Closure getConverter()
    Deprecated.
     
    groovy.lang.Closure getReverseConverter()
    Deprecated.
     
    SourceBinding getSourceBinding()
    Deprecated.
     
    TargetBinding getTargetBinding()
    Deprecated.
     
    groovy.lang.Closure getValidator()
    Deprecated.
     
    void rebind()
    Deprecated.
    Causes the current bindings to be reset.
    protected void rebuildBindings()
    Deprecated.
     
    void reverseUpdate()
    Deprecated.
    If supported, Causes the values to be propagated from the target to the source, If not supported, an exception may be thrown
    void setConverter​(groovy.lang.Closure converter)
    Deprecated.
     
    void setReverseConverter​(groovy.lang.Closure reverseConverter)
    Deprecated.
     
    void setSourceBinding​(SourceBinding sourceBinding)
    Deprecated.
     
    void setTargetBinding​(TargetBinding targetBinding)
    Deprecated.
     
    void setValidator​(groovy.lang.Closure validator)
    Deprecated.
     
    void unbind()
    Deprecated.
    Causes automatic updating of bound values to be turned off.
    void update()
    Deprecated.
    Causes the values to be propagated from the source to the target

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getSourceBinding

      public SourceBinding getSourceBinding()
      Deprecated.
      Specified by:
      getSourceBinding in interface FullBinding
    • getTargetBinding

      public TargetBinding getTargetBinding()
      Deprecated.
      Specified by:
      getTargetBinding in interface FullBinding
    • setSourceBinding

      public void setSourceBinding​(SourceBinding sourceBinding)
      Deprecated.
      Specified by:
      setSourceBinding in interface FullBinding
    • setTargetBinding

      public void setTargetBinding​(TargetBinding targetBinding)
      Deprecated.
      Specified by:
      setTargetBinding in interface FullBinding
    • setValidator

      public void setValidator​(groovy.lang.Closure validator)
      Deprecated.
      Specified by:
      setValidator in interface FullBinding
    • getValidator

      public groovy.lang.Closure getValidator()
      Deprecated.
      Specified by:
      getValidator in interface FullBinding
    • setConverter

      public void setConverter​(groovy.lang.Closure converter)
      Deprecated.
      Specified by:
      setConverter in interface FullBinding
    • getConverter

      public groovy.lang.Closure getConverter()
      Deprecated.
      Specified by:
      getConverter in interface FullBinding
    • setReverseConverter

      public void setReverseConverter​(groovy.lang.Closure reverseConverter)
      Deprecated.
      Specified by:
      setReverseConverter in interface FullBinding
    • getReverseConverter

      public groovy.lang.Closure getReverseConverter()
      Deprecated.
      Specified by:
      getReverseConverter in interface FullBinding
    • rebuildBindings

      protected void rebuildBindings()
      Deprecated.
    • bind

      public void bind()
      Deprecated.
      Description copied from interface: BindingUpdatable
      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.
      Specified by:
      bind in interface BindingUpdatable
    • unbind

      public void unbind()
      Deprecated.
      Description copied from interface: BindingUpdatable
      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.
      Specified by:
      unbind in interface BindingUpdatable
    • rebind

      public void rebind()
      Deprecated.
      Description copied from interface: BindingUpdatable
      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.
      Specified by:
      rebind in interface BindingUpdatable
    • update

      public void update()
      Deprecated.
      Description copied from interface: BindingUpdatable
      Causes the values to be propagated from the source to the target
      Specified by:
      update in interface BindingUpdatable
    • reverseUpdate

      public void reverseUpdate()
      Deprecated.
      Description copied from interface: BindingUpdatable
      If supported, Causes the values to be propagated from the target to the source, If not supported, an exception may be thrown
      Specified by:
      reverseUpdate in interface BindingUpdatable