Interface Binder<T>
public interface Binder<T>
Runtime contract a build-time-generated component binder implements for one
@Bindable class.
Application code rarely references Binder directly -- it goes through
Binders#bind. The interface exists so generated code has a single
ServiceLoader-friendly shape and hand-written extensions can sit on the
same type.
-
Method Summary
-
Method Details
-
type
-
bind
Pushes every@Bindfield onmodelinto the matching component incontainer. Components are located by name via a recursive scan that matchesComponent#getName()against@Bind(name=...). Wires up two-way listeners on editable text fields and toggle buttons so subsequent user input updates the model.
-