public interface BindingListener
extends java.util.EventListener
BindingListeners
are registered on Bindings
or BindingGroups
to listen for changes to the state of Bindings
Binding
,
BindingGroup
Modifier and Type | Method and 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 Binding
void bindingBecameUnbound(Binding binding)
Binding
has been unbound.binding
- the Binding
void syncFailed(Binding binding, Binding.SyncFailure failure)
Binding
attempted to sync the source and
target, but the sync failed.binding
- the Binding
failure
- the reason the sync failedvoid synced(Binding binding)
Binding
have
been made in sync.binding
- the Binding
void sourceChanged(Binding binding, PropertyStateEvent event)
Binding
has fired
a PropertyStateEvent
for the Binding's
source object.binding
- the Binding
void targetChanged(Binding binding, PropertyStateEvent event)
Binding
has fired
a PropertyStateEvent
for the Binding's
target object.binding
- the Binding