java.util.EventListenerAbstractBindingListenerpublic interface BindingListener
extends java.util.EventListener
BindingListeners are registered on Bindings or BindingGroups
to listen for changes to the state of BindingsBinding,
BindingGroup| Modifier and Type | Method | Description |
|---|---|---|
void |
bindingBecameBound(Binding binding) |
Notification that a
Binding has been bound. |
void |
bindingBecameUnbound(Binding binding) |
Notification that a
Binding has been unbound. |
void |
sourceChanged(Binding binding,
PropertyStateEvent event) |
Notification that the source property of a
Binding has fired
a PropertyStateEvent for the Binding's source object. |
void |
synced(Binding binding) |
Notification that the source and target of a
Binding have
been made in sync. |
void |
syncFailed(Binding binding,
Binding.SyncFailure failure) |
Notification that the
Binding attempted to sync the source and
target, but the sync failed. |
void |
targetChanged(Binding binding,
PropertyStateEvent event) |
Notification that the target property of a
Binding has fired
a PropertyStateEvent for the Binding's target object. |
void bindingBecameBound(Binding binding)
Binding has been bound.binding - the Bindingvoid bindingBecameUnbound(Binding binding)
Binding has been unbound.binding - the Bindingvoid syncFailed(Binding binding, Binding.SyncFailure failure)
Binding attempted to sync the source and
target, but the sync failed.binding - the Bindingfailure - the reason the sync failedvoid synced(Binding binding)
Binding have
been made in sync.binding - the Bindingvoid sourceChanged(Binding binding, PropertyStateEvent event)
Binding has fired
a PropertyStateEvent for the Binding's source object.binding - the Bindingvoid targetChanged(Binding binding, PropertyStateEvent event)
Binding has fired
a PropertyStateEvent for the Binding's target object.binding - the Binding