org.codehaus.groovy.binding
Class PropertyBinding.PropertyFullBinding

java.lang.Object
  extended by org.codehaus.groovy.binding.AbstractFullBinding
      extended by org.codehaus.groovy.binding.PropertyBinding.PropertyFullBinding
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.util.EventListener, BindingUpdatable, FullBinding
Enclosing class:
PropertyBinding

 class PropertyBinding.PropertyFullBinding
extends AbstractFullBinding
implements java.beans.PropertyChangeListener


Field Summary
(package private)  boolean bound
           
(package private)  java.lang.Object boundBean
           
(package private)  java.lang.Object boundProperty
           
(package private)  boolean boundToProperty
           
 
Fields inherited from class org.codehaus.groovy.binding.AbstractFullBinding
converter, reverseConverter, sourceBinding, targetBinding, validator
 
Constructor Summary
PropertyBinding.PropertyFullBinding(SourceBinding source, TargetBinding target)
           
 
Method Summary
 void bind()
          Causes automatic updating of bound values to be turned on.
 void propertyChange(java.beans.PropertyChangeEvent event)
           
 void rebind()
          Causes the current bindings to be reset.
 void unbind()
          Causes automatic updating of bound values to be turned off.
 
Methods inherited from class org.codehaus.groovy.binding.AbstractFullBinding
getConverter, getReverseConverter, getSourceBinding, getTargetBinding, getValidator, reverseUpdate, setConverter, setReverseConverter, setSourceBinding, setTargetBinding, setValidator, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

boundBean

java.lang.Object boundBean

boundProperty

java.lang.Object boundProperty

bound

boolean bound

boundToProperty

boolean boundToProperty
Constructor Detail

PropertyBinding.PropertyFullBinding

PropertyBinding.PropertyFullBinding(SourceBinding source,
                                    TargetBinding target)
Method Detail

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent event)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener

bind

public void bind()
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()
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()
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


Copyright © ${year} The Codehaus. All Rights Reserved.