Package groovy.swing.binding
Class AbstractSyntheticBinding
java.lang.Object
org.apache.groovy.swing.binding.AbstractFullBinding
groovy.swing.binding.AbstractSyntheticBinding
- All Implemented Interfaces:
- BindingUpdatable,- FullBinding
public abstract class AbstractSyntheticBinding extends AbstractFullBinding
- 
Field SummaryFields inherited from class org.apache.groovy.swing.binding.AbstractFullBindingconverter, reverseConverter, sourceBinding, targetBinding, validator
- 
Constructor SummaryConstructors Constructor Description AbstractSyntheticBinding(PropertyBinding source, TargetBinding target, java.lang.Class klass, java.lang.String propertyName)
- 
Method SummaryModifier and Type Method Description voidbind()Causes automatic updating of bound values to be turned on.voidrebind()Causes the current bindings to be reset.voidsetSourceBinding(SourceBinding source)voidsetTargetBinding(TargetBinding target)protected abstract voidsyntheticBind()protected abstract voidsyntheticUnbind()voidunbind()Causes automatic updating of bound values to be turned off.Methods inherited from class org.apache.groovy.swing.binding.AbstractFullBindinggetConverter, getReverseConverter, getSourceBinding, getTargetBinding, getValidator, reverseUpdate, setConverter, setReverseConverter, setValidator, updateMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
AbstractSyntheticBindingpublic AbstractSyntheticBinding(PropertyBinding source, TargetBinding target, java.lang.Class klass, java.lang.String propertyName)
 
- 
- 
Method Details- 
bindpublic void bind()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.
- 
unbindpublic void unbind()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.
- 
syntheticBindprotected abstract void syntheticBind()
- 
syntheticUnbindprotected abstract void syntheticUnbind()
- 
rebindpublic void rebind()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.
- 
setSourceBinding- Specified by:
- setSourceBindingin interface- FullBinding
- Overrides:
- setSourceBindingin class- AbstractFullBinding
 
- 
setTargetBinding- Specified by:
- setTargetBindingin interface- FullBinding
- Overrides:
- setTargetBindingin class- AbstractFullBinding
 
 
-