Interface BindingContext

All Known Implementing Classes:
BindingContextControl

public interface BindingContext
An interface allowing for binding to a Control and (if a property) syncing to it. Implementations of this interface may be placed in a Root or Container to be available for the use of child components.
  • Method Details

    • bind

      void bind(ControlAddress address, Binding.Adaptor adaptor)
      Bind adaptor to the binding for the given ControlAddress. An adaptor may only be bound to one address at a time.
      Parameters:
      address - control to bind to
      adaptor - to send / receive values
    • unbind

      void unbind(ControlAddress address, Binding.Adaptor adaptor)
      Unbind adaptor from its binding. If the adaptor is not bound to this address, the method will do nothing.
      Parameters:
      address - bound control address
      adaptor - to remove