Package org.jdesktop.beansbinding
Interface BindingListener
-
- All Superinterfaces:
java.util.EventListener
- All Known Implementing Classes:
AbstractBindingListener
public interface BindingListener extends java.util.EventListener
BindingListeners
are registered onBindings
orBindingGroups
to listen for changes to the state ofBindings
- See Also:
Binding
,BindingGroup
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
bindingBecameBound(Binding binding)
Notification that aBinding
has been bound.void
bindingBecameUnbound(Binding binding)
Notification that aBinding
has been unbound.void
sourceChanged(Binding binding, PropertyStateEvent event)
Notification that the source property of aBinding
has fired aPropertyStateEvent
for theBinding's
source object.void
synced(Binding binding)
Notification that the source and target of aBinding
have been made in sync.void
syncFailed(Binding binding, Binding.SyncFailure failure)
Notification that theBinding
attempted to sync the source and target, but the sync failed.void
targetChanged(Binding binding, PropertyStateEvent event)
Notification that the target property of aBinding
has fired aPropertyStateEvent
for theBinding's
target object.
-
-
-
Method Detail
-
bindingBecameBound
void bindingBecameBound(Binding binding)
Notification that aBinding
has been bound.- Parameters:
binding
- theBinding
-
bindingBecameUnbound
void bindingBecameUnbound(Binding binding)
Notification that aBinding
has been unbound.- Parameters:
binding
- theBinding
-
syncFailed
void syncFailed(Binding binding, Binding.SyncFailure failure)
Notification that theBinding
attempted to sync the source and target, but the sync failed.- Parameters:
binding
- theBinding
failure
- the reason the sync failed
-
synced
void synced(Binding binding)
Notification that the source and target of aBinding
have been made in sync.- Parameters:
binding
- theBinding
-
sourceChanged
void sourceChanged(Binding binding, PropertyStateEvent event)
Notification that the source property of aBinding
has fired aPropertyStateEvent
for theBinding's
source object.- Parameters:
binding
- theBinding
-
targetChanged
void targetChanged(Binding binding, PropertyStateEvent event)
Notification that the target property of aBinding
has fired aPropertyStateEvent
for theBinding's
target object.- Parameters:
binding
- theBinding
-
-