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
public abstract class AbstractFullBinding extends java.lang.Object implements FullBinding
- Since:
- Groovy 1.1
-
Field Summary
Fields Modifier and Type Field Description protected Closure
converter
protected Closure
reverseConverter
protected SourceBinding
sourceBinding
protected TargetBinding
targetBinding
protected Closure
validator
-
Constructor Summary
Constructors Constructor Description AbstractFullBinding()
-
Method Summary
Modifier and Type Method Description Closure
getConverter()
Closure
getReverseConverter()
SourceBinding
getSourceBinding()
TargetBinding
getTargetBinding()
Closure
getValidator()
void
reverseUpdate()
If supported, Causes the values to be propagated from the target to the source, If not supported, an exception may be thrownvoid
setConverter(Closure converter)
void
setReverseConverter(Closure reverseConverter)
void
setSourceBinding(SourceBinding sourceBinding)
void
setTargetBinding(TargetBinding targetBinding)
void
setValidator(Closure validator)
void
update()
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, wait
Methods 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:BindingUpdatable
Causes the values to be propagated from the source to the target- Specified by:
update
in interfaceBindingUpdatable
-
reverseUpdate
public void reverseUpdate()Description copied from interface:BindingUpdatable
If supported, Causes the values to be propagated from the target to the source, If not supported, an exception may be thrown- Specified by:
reverseUpdate
in interfaceBindingUpdatable
-
getSourceBinding
- Specified by:
getSourceBinding
in interfaceFullBinding
-
setSourceBinding
- Specified by:
setSourceBinding
in interfaceFullBinding
-
getTargetBinding
- Specified by:
getTargetBinding
in interfaceFullBinding
-
setTargetBinding
- Specified by:
setTargetBinding
in interfaceFullBinding
-
getValidator
- Specified by:
getValidator
in interfaceFullBinding
-
setValidator
- Specified by:
setValidator
in interfaceFullBinding
-
getConverter
- Specified by:
getConverter
in interfaceFullBinding
-
setConverter
- Specified by:
setConverter
in interfaceFullBinding
-
getReverseConverter
- Specified by:
getReverseConverter
in interfaceFullBinding
-
setReverseConverter
- Specified by:
setReverseConverter
in interfaceFullBinding
-