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 Summary

    Modifier and Type
    Method
    Description
    void
    bind(org.praxislive.core.ControlAddress address, Binding.Adaptor adaptor)
    Bind adaptor to the binding for the given ControlAddress.
    void
    unbind(org.praxislive.core.ControlAddress address, Binding.Adaptor adaptor)
    Unbind adaptor from its binding.
  • Method Details

    • bind

      void bind(org.praxislive.core.ControlAddress address, Binding.Adaptor adaptor)
      Bind adaptor to the binding for the given ControlAddress.
      Parameters:
      address - control to bind to
      adaptor - to send / receive values
    • unbind

      void unbind(org.praxislive.core.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