Package org.jdesktop.beansbinding
Interface BindingListener
-
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
AbstractBindingListener
public interface BindingListener extends EventListener
BindingListenersare registered onBindingsorBindingGroupsto listen for changes to the state ofBindings- Author:
- Shannon Hickey
- See Also:
Binding,BindingGroup
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbindingBecameBound(Binding binding)Notification that aBindinghas been bound.voidbindingBecameUnbound(Binding binding)Notification that aBindinghas been unbound.voidsourceChanged(Binding binding, PropertyStateEvent event)Notification that the source property of aBindinghas fired aPropertyStateEventfor theBinding'ssource object.voidsynced(Binding binding)Notification that the source and target of aBindinghave been made in sync.voidsyncFailed(Binding binding, Binding.SyncFailure failure)Notification that theBindingattempted to sync the source and target, but the sync failed.voidsyncWarning(Binding binding, Binding.SyncFailure failure)A warning occurred while validating.voidtargetChanged(Binding binding, PropertyStateEvent event)Notification that the target property of aBindinghas fired aPropertyStateEventfor theBinding'starget object.
-
-
-
Method Detail
-
bindingBecameBound
void bindingBecameBound(Binding binding)
Notification that aBindinghas been bound.- Parameters:
binding- theBinding
-
bindingBecameUnbound
void bindingBecameUnbound(Binding binding)
Notification that aBindinghas been unbound.- Parameters:
binding- theBinding
-
syncFailed
void syncFailed(Binding binding, Binding.SyncFailure failure)
Notification that theBindingattempted to sync the source and target, but the sync failed.- Parameters:
binding- theBindingfailure- the reason the sync failed
-
syncWarning
void syncWarning(Binding binding, Binding.SyncFailure failure)
A warning occurred while validating. The binding has been synced anyway.- Parameters:
binding- theBindingfailure- the reason the sync failed
-
synced
void synced(Binding binding)
Notification that the source and target of aBindinghave been made in sync.- Parameters:
binding- theBinding
-
sourceChanged
void sourceChanged(Binding binding, PropertyStateEvent event)
Notification that the source property of aBindinghas fired aPropertyStateEventfor theBinding'ssource object.- Parameters:
binding- theBinding
-
targetChanged
void targetChanged(Binding binding, PropertyStateEvent event)
Notification that the target property of aBindinghas fired aPropertyStateEventfor theBinding'starget object.- Parameters:
binding- theBinding
-
-