- 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 TypeMethodDescriptionvoidbind(org.praxislive.core.ControlAddress address, Binding.Adaptor adaptor) Bind adaptor to the binding for the given ControlAddress.voidunbind(org.praxislive.core.ControlAddress address, Binding.Adaptor adaptor) Unbind adaptor from its binding.
-
Method Details
-
bind
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 toadaptor- to send / receive values
-
unbind
Unbind adaptor from its binding. If the adaptor is not bound to this address, the method will do nothing.- Parameters:
address- bound control addressadaptor- to remove
-