T
- type of items to be chosenpublic interface Chooser<T> extends UIComponent
Implementations control the UI part of choosing and just expose a corresponding component as well as selection
information and events.
The implementation has to create ValueContext
explicitly as the injected valued context is the context from the parent view.
Modifier and Type | Method and Description |
---|---|
T |
getChoice() |
void |
onChange(Consumer<T> callback) |
void |
setChoice(T choice) |
accessViewBeanStore, asVaadinComponent, bindContext, bindInstance, create, create, create, create, destroy, getComponentProvider, getCurrentViewReference
Copyright © 2020 Magnolia International Ltd.. All rights reserved.