Package org.apache.groovy.swing.binding
Class AbstractFullBinding
java.lang.Object
org.apache.groovy.swing.binding.AbstractFullBinding
- All Implemented Interfaces:
BindingUpdatable,FullBinding
- Direct Known Subclasses:
AbstractSyntheticBinding,PropertyPathFullBinding
- Since:
- Groovy 1.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Closureprotected Closureprotected SourceBindingprotected TargetBindingprotected Closure -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidIf supported, Causes the values to be propagated from the target to the source, If not supported, an exception may be thrownvoidsetConverter(Closure converter) voidsetReverseConverter(Closure reverseConverter) voidsetSourceBinding(SourceBinding sourceBinding) voidsetTargetBinding(TargetBinding targetBinding) voidsetValidator(Closure validator) voidupdate()Causes the values to be propagated from the source to the targetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.groovy.swing.binding.BindingUpdatable
bind, rebind, unbind
-
Field Details
-
sourceBinding
-
targetBinding
-
validator
-
converter
-
reverseConverter
-
-
Constructor Details
-
AbstractFullBinding
public AbstractFullBinding()
-
-
Method Details
-
update
public void update()Description copied from interface:BindingUpdatableCauses the values to be propagated from the source to the target- Specified by:
updatein interfaceBindingUpdatable
-
reverseUpdate
public void reverseUpdate()Description copied from interface:BindingUpdatableIf supported, Causes the values to be propagated from the target to the source, If not supported, an exception may be thrown- Specified by:
reverseUpdatein interfaceBindingUpdatable
-
getSourceBinding
- Specified by:
getSourceBindingin interfaceFullBinding
-
setSourceBinding
- Specified by:
setSourceBindingin interfaceFullBinding
-
getTargetBinding
- Specified by:
getTargetBindingin interfaceFullBinding
-
setTargetBinding
- Specified by:
setTargetBindingin interfaceFullBinding
-
getValidator
- Specified by:
getValidatorin interfaceFullBinding
-
setValidator
- Specified by:
setValidatorin interfaceFullBinding
-
getConverter
- Specified by:
getConverterin interfaceFullBinding
-
setConverter
- Specified by:
setConverterin interfaceFullBinding
-
getReverseConverter
- Specified by:
getReverseConverterin interfaceFullBinding
-
setReverseConverter
- Specified by:
setReverseConverterin interfaceFullBinding
-