-
- 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
bind(ControlAddress address, Binding.Adaptor adaptor)
Bind adaptor to the binding for the given ControlAddress.void
unbind(ControlAddress address, Binding.Adaptor adaptor)
Unbind adaptor from its binding.
-
-
-
Method Detail
-
bind
void bind(ControlAddress address, Binding.Adaptor adaptor)
Bind adaptor to the binding for the given ControlAddress.- Parameters:
address
- control to bind toadaptor
- 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 addressadaptor
- to remove
-
-