|
Groovy 2.2.0 | |||||||
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(Object model)
|
Method Summary | |
---|---|
void
|
bind()
|
Object
|
getModel()
|
Object
|
getProperty(String property)
|
void
|
rebind()
|
void
|
reverseUpdate()
|
void
|
setModel(Object model)
|
void
|
setProperty(String property, Object value)
|
void
|
unbind()
|
void
|
update()
|
Methods inherited from class GroovyObjectSupport | |
---|---|
getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail |
---|
public BindingProxy(Object model)
Method Detail |
---|
public void bind()
public Object getModel()
public Object getProperty(String property)
public void rebind()
public void reverseUpdate()
public void setModel(Object model)
public void setProperty(String property, Object value)
public void unbind()
public void update()
Copyright © 2003-2013 The Codehaus. All rights reserved.