|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.groovy.binding.MutualPropertyBinding
public class MutualPropertyBinding
| Method Summary | |
|---|---|
void |
bind()
Causes automatic updating of bound values to be turned on. |
Closure |
getConverter()
|
Closure |
getReverseConverter()
|
SourceBinding |
getSourceBinding()
|
TargetBinding |
getTargetBinding()
|
Closure |
getValidator()
|
void |
rebind()
Causes the current bindings to be reset. |
protected void |
rebuildBindings()
|
void |
reverseUpdate()
If supported, Causes the values to be propigated from the target to the source, If not supported, an exception may be thrown |
void |
setConverter(Closure converter)
|
void |
setReverseConverter(Closure reverseConverter)
|
void |
setSourceBinding(SourceBinding sourceBinding)
|
void |
setTargetBinding(TargetBinding targetBinding)
|
void |
setValidator(Closure validator)
|
void |
unbind()
Causes automatic updating of bound values to be turned off. |
void |
update()
Causes the values to be propigated from the source to the target |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public SourceBinding getSourceBinding()
getSourceBinding in interface FullBindingpublic TargetBinding getTargetBinding()
getTargetBinding in interface FullBindingpublic void setSourceBinding(SourceBinding sourceBinding)
setSourceBinding in interface FullBindingpublic void setTargetBinding(TargetBinding targetBinding)
setTargetBinding in interface FullBindingpublic void setValidator(Closure validator)
setValidator in interface FullBindingpublic Closure getValidator()
getValidator in interface FullBindingpublic void setConverter(Closure converter)
setConverter in interface FullBindingpublic Closure getConverter()
getConverter in interface FullBindingpublic void setReverseConverter(Closure reverseConverter)
setReverseConverter in interface FullBindingpublic Closure getReverseConverter()
getReverseConverter in interface FullBindingprotected void rebuildBindings()
public void bind()
BindingUpdatable
bind in interface BindingUpdatablepublic void unbind()
BindingUpdatable
unbind in interface BindingUpdatablepublic void rebind()
BindingUpdatable
rebind in interface BindingUpdatablepublic void update()
BindingUpdatable
update in interface BindingUpdatablepublic void reverseUpdate()
BindingUpdatable
reverseUpdate in interface BindingUpdatable
|
Copyright © 2003-2009 The Codehaus. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||