Interface BindingListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
AbstractBindingListener

public interface BindingListener extends EventListener
BindingListeners are registered on Bindings or BindingGroups to listen for changes to the state of Bindings
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Notification that a Binding has been bound.
    void
    Notification that a Binding has been unbound.
    void
    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
    Notification that the Binding attempted to sync the source and target, but the sync failed.
    void
    Notification that the target property of a Binding has fired a PropertyStateEvent for the Binding's target object.
  • Method Details

    • bindingBecameBound

      void bindingBecameBound(Binding binding)
      Notification that a Binding has been bound.
      Parameters:
      binding - the Binding
    • bindingBecameUnbound

      void bindingBecameUnbound(Binding binding)
      Notification that a Binding has been unbound.
      Parameters:
      binding - the Binding
    • syncFailed

      void syncFailed(Binding binding, Binding.SyncFailure failure)
      Notification that the Binding attempted to sync the source and target, but the sync failed.
      Parameters:
      binding - the Binding
      failure - the reason the sync failed
    • synced

      void synced(Binding binding)
      Notification that the source and target of a Binding have been made in sync.
      Parameters:
      binding - the Binding
    • sourceChanged

      void sourceChanged(Binding binding, PropertyStateEvent event)
      Notification that the source property of a Binding has fired a PropertyStateEvent for the Binding's source object.
      Parameters:
      binding - the Binding
    • targetChanged

      void targetChanged(Binding binding, PropertyStateEvent event)
      Notification that the target property of a Binding has fired a PropertyStateEvent for the Binding's target object.
      Parameters:
      binding - the Binding