Package org.apache.groovy.swing.binding
Class PropertyPathFullBinding
java.lang.Object
org.apache.groovy.swing.binding.AbstractFullBinding
org.apache.groovy.swing.binding.PropertyPathFullBinding
- All Implemented Interfaces:
PropertyChangeListener,EventListener,BindingUpdatable,FullBinding
A full binding that watches an entire property path rather than a single observable bean property.
-
Field Summary
Fields inherited from class org.apache.groovy.swing.binding.AbstractFullBinding
converter, reverseConverter, sourceBinding, targetBinding, validator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbind()Attaches listeners across every configured bind path.voidRefreshes bind-path listeners and propagates the resulting value change.voidrebind()Rebuilds listener registrations when the binding is currently active.voidunbind()Removes listeners from every configured bind path.Methods inherited from class org.apache.groovy.swing.binding.AbstractFullBinding
getConverter, getReverseConverter, getSourceBinding, getTargetBinding, getValidator, reverseUpdate, setConverter, setReverseConverter, setSourceBinding, setTargetBinding, setValidator, update
-
Constructor Details
-
PropertyPathFullBinding
public PropertyPathFullBinding()
-
-
Method Details
-
bind
public void bind()Attaches listeners across every configured bind path.- Specified by:
bindin interfaceBindingUpdatable
-
unbind
public void unbind()Removes listeners from every configured bind path.- Specified by:
unbindin interfaceBindingUpdatable
-
rebind
public void rebind()Rebuilds listener registrations when the binding is currently active.- Specified by:
rebindin interfaceBindingUpdatable
-
propertyChange
Refreshes bind-path listeners and propagates the resulting value change.- Specified by:
propertyChangein interfacePropertyChangeListener- Parameters:
evt- the property change event that triggered the refresh
-