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 groovy.lang.Closureprotected groovy.lang.Closureprotected SourceBindingprotected TargetBindingprotected groovy.lang.Closure -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongroovy.lang.Closuregroovy.lang.Closuregroovy.lang.ClosurevoidIf supported, Causes the values to be propagated from the target to the source, If not supported, an exception may be thrownvoidsetConverter(groovy.lang.Closure converter) voidsetReverseConverter(groovy.lang.Closure reverseConverter) voidsetSourceBinding(SourceBinding sourceBinding) voidsetTargetBinding(TargetBinding targetBinding) voidsetValidator(groovy.lang.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
protected groovy.lang.Closure validator -
converter
protected groovy.lang.Closure converter -
reverseConverter
protected groovy.lang.Closure 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
public groovy.lang.Closure getValidator()- Specified by:
getValidatorin interfaceFullBinding
-
setValidator
public void setValidator(groovy.lang.Closure validator) - Specified by:
setValidatorin interfaceFullBinding
-
getConverter
public groovy.lang.Closure getConverter()- Specified by:
getConverterin interfaceFullBinding
-
setConverter
public void setConverter(groovy.lang.Closure converter) - Specified by:
setConverterin interfaceFullBinding
-
getReverseConverter
public groovy.lang.Closure getReverseConverter()- Specified by:
getReverseConverterin interfaceFullBinding
-
setReverseConverter
public void setReverseConverter(groovy.lang.Closure reverseConverter) - Specified by:
setReverseConverterin interfaceFullBinding
-