|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgroovy.lang.GroovyObjectSupport
org.codehaus.groovy.binding.ModelBinding
public class ModelBinding
| Constructor Summary | |
|---|---|
ModelBinding(Object model)
|
|
| Method Summary | |
|---|---|
void |
bind()
Causes automatic updating of bound values to be turned on. |
Object |
getModel()
|
Object |
getProperty(String property)
Retrieves a property value. |
void |
rebind()
Causes the current bindings to be reset. |
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 |
setModel(Object model)
|
void |
setProperty(String property,
Object value)
Sets the given property to the new value. |
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 groovy.lang.GroovyObjectSupport |
|---|
getMetaClass, invokeMethod, setMetaClass |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModelBinding(Object model)
| Method Detail |
|---|
public Object getModel()
public void setModel(Object model)
public Object getProperty(String property)
GroovyObject
getProperty in interface GroovyObjectgetProperty in class GroovyObjectSupportproperty - the name of the property of interest
public void setProperty(String property,
Object value)
GroovyObject
setProperty in interface GroovyObjectsetProperty in class GroovyObjectSupportproperty - the name of the property of interestvalue - the new value for the propertypublic 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-2008 The Codehaus. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||