[Java] Class BindingProxy

  • org.codehaus.groovy.binding.BindingProxy
All Implemented Interfaces and Traits:
BindingUpdatable
@Deprecated
public class BindingProxy
extends GroovyObjectSupport
implements BindingUpdatable

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.

Since:
Groovy 1.5

Constructor Summary

Constructors
Constructor and description
BindingProxy (Object model)

Methods Summary

Methods
Type Params Return Type Name and description
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()

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class GroovyObjectSupport getMetaClass, setMetaClass

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()

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/binding/BindingProxy.html