Package org.codehaus.groovy.binding
Class PropertyPathFullBinding
- java.lang.Object
-
- org.codehaus.groovy.binding.AbstractFullBinding
-
- org.codehaus.groovy.binding.PropertyPathFullBinding
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener
,java.util.EventListener
,BindingUpdatable
,FullBinding
public class PropertyPathFullBinding extends AbstractFullBinding implements java.beans.PropertyChangeListener
A property path full binding
-
-
Field Summary
-
Fields inherited from class org.codehaus.groovy.binding.AbstractFullBinding
converter, reverseConverter, sourceBinding, targetBinding, validator
-
-
Constructor Summary
Constructors Constructor Description PropertyPathFullBinding()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bind()
Causes automatic updating of bound values to be turned on.void
propertyChange(java.beans.PropertyChangeEvent evt)
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
-
-
-
-
Method Detail
-
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 interfaceBindingUpdatable
-
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 interfaceBindingUpdatable
-
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 interfaceBindingUpdatable
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
-