|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.lang.GroovyObjectSupport org.codehaus.groovy.binding.BindingProxy
public class BindingProxy extends GroovyObjectSupport
This class returns half bound FullBindings on the source half to the model object for every property reference (and I do mean every, valid or not, queried before or not). These returned half bindings are stored strongly in a list when generated. Changing the model will keep all existing bindings but change the source on all of the bininfs Formerly Known as Model Binding.
Constructor Summary | |
BindingProxy(java.lang.Object model)
|
Method Summary | |
---|---|
void
|
bind()
|
java.lang.Object
|
getModel()
|
java.lang.Object
|
getProperty(java.lang.String property)
|
void
|
rebind()
|
void
|
reverseUpdate()
|
void
|
setModel(java.lang.Object model)
|
void
|
setProperty(java.lang.String property, java.lang.Object value)
|
void
|
unbind()
|
void
|
update()
|
Methods inherited from class GroovyObjectSupport | |
---|---|
getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor Detail |
---|
public BindingProxy(java.lang.Object model)
Method Detail |
---|
public void bind()
public java.lang.Object getModel()
public java.lang.Object getProperty(java.lang.String property)
public void rebind()
public void reverseUpdate()
public void setModel(java.lang.Object model)
public void setProperty(java.lang.String property, java.lang.Object value)
public void unbind()
public void update()
Groovy Documentation