Package org.apache.groovy.swing.binding

# Class PropertyBinding

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

All Implemented Interfaces:
  `SourceBinding`, `TargetBinding`, `TriggerBinding`

    public class PropertyBinding
    extends java.lang.Object
    implements SourceBinding, TargetBinding, TriggerBinding

Since:
  Groovy 1.1

- ## Nested Class Summary

  Nested Classes
  Modifier and Type | Class | Description
  --- | --- | ---
  `static class` | `PropertyBinding.UpdateStrategy` |

- ## Constructor Summary

  Constructors
  Constructor | Description
  --- | ---
  `PropertyBinding​(java.lang.Object bean, java.lang.String propertyName)` |
  `PropertyBinding​(java.lang.Object bean, java.lang.String propertyName, java.lang.String updateStrategy)` |
  `PropertyBinding​(java.lang.Object bean, java.lang.String propertyName, PropertyBinding.UpdateStrategy updateStrategy)` |

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `FullBinding` | `createBinding​(SourceBinding source, TargetBinding target)` |
  `java.lang.Object` | `getBean()` |
  `java.lang.String` | `getPropertyName()` |
  `java.lang.Object` | `getSourceValue()` |
  `PropertyBinding.UpdateStrategy` | `getUpdateStrategy()` |
  `boolean` | `isNonChangeCheck()` |
  `void` | `setBean​(java.lang.Object bean)` |
  `void` | `setNonChangeCheck​(boolean nonChangeCheck)` |
  `void` | `setPropertyName​(java.lang.String propertyName)` |
  `void` | `updateTargetValue​(java.lang.Object newValue)` |

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

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

- ## Constructor Details

  - ### PropertyBinding

    public PropertyBinding​(java.lang.Object bean, java.lang.String propertyName)

  - ### PropertyBinding

    public PropertyBinding​(java.lang.Object bean, java.lang.String propertyName, java.lang.String updateStrategy)

  - ### PropertyBinding

    public PropertyBinding​(java.lang.Object bean, java.lang.String propertyName, PropertyBinding.UpdateStrategy updateStrategy)

- ## Method Details

  - ### getUpdateStrategy

    public PropertyBinding.UpdateStrategy getUpdateStrategy()

  - ### updateTargetValue

    public void updateTargetValue​(java.lang.Object newValue)
    Specified by:
      `updateTargetValue` in interface `TargetBinding`

  - ### isNonChangeCheck

    public boolean isNonChangeCheck()

  - ### setNonChangeCheck

    public void setNonChangeCheck​(boolean nonChangeCheck)

  - ### getSourceValue

    public java.lang.Object getSourceValue()
    Specified by:
      `getSourceValue` in interface `SourceBinding`

  - ### createBinding

    public FullBinding createBinding​(SourceBinding source, TargetBinding target)
    Specified by:
      `createBinding` in interface `TriggerBinding`

  - ### getBean

    public java.lang.Object getBean()

  - ### setBean

    public void setBean​(java.lang.Object bean)

  - ### getPropertyName

    public java.lang.String getPropertyName()

  - ### setPropertyName

    public void setPropertyName​(java.lang.String propertyName)