Package org.apache.groovy.swing.binding

# Class PropertyChangeProxyTargetBinding

java.lang.Object
org.apache.groovy.swing.binding.PropertyChangeProxyTargetBinding

All Implemented Interfaces:
  `TargetBinding`

public class PropertyChangeProxyTargetBinding extends Object implements TargetBinding
Adapts a `PropertyChangeListener` so it can be used as a `TargetBinding`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PropertyChangeProxyTargetBinding(Object proxyObject, String propertyName, PropertyChangeListener listener)`
  Creates a proxy target binding that synthesizes property change events.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `updateTargetValue(Object value)`
  Forwards a synthetic property-change event containing the supplied target value.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PropertyChangeProxyTargetBinding

    public PropertyChangeProxyTargetBinding(Object proxyObject, String propertyName, PropertyChangeListener listener)
    Creates a proxy target binding that synthesizes property change events.
    Parameters:
      `proxyObject` - the object to report as the event source
      `propertyName` - the property name to report
      `listener` - the listener to notify

- ## Method Details

  - ### updateTargetValue

    public void updateTargetValue(Object value)
    Forwards a synthetic property-change event containing the supplied target value.
    Specified by:
      `updateTargetValue` in interface `TargetBinding`
    Parameters:
      `value` - the new property value to report