|
Groovy 1.7.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.lang.GroovyObjectSupport
org.codehaus.groovy.binding.BindingProxy
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 gereated. Changing the model will keep all existing bindings but change the source on all of the bininfs Formerly Known as Model Binding.
Nested Class Summary | |
---|---|
class |
BindingProxy.ModelBindingPropertyBinding
|
Field Summary | |
---|---|
boolean |
bound
|
List |
generatedBindings
|
Object |
model
|
Map |
propertyBindings
|
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, hashCode, getClass, equals, toString, notify, notifyAll |
Field Detail |
---|
boolean bound
final List generatedBindings
Object model
final Map propertyBindings
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-2009 The Codehaus. All rights reserved.