T
- type of items to be chosenpublic interface Chooser<T> extends UiFrameworkView
Implementations control the UI part of choosing and just expose a corresponding component as well as selection information and events.
Modifier and Type | Method and Description |
---|---|
com.vaadin.ui.Component |
asVaadinComponent()
Convenience method implementation.
|
T |
getChoice() |
String |
getTitle() |
void |
onChange(Consumer<T> callback) |
void |
setChoice(T choice) |
accessViewBeanStore, bindContext, bindDatasourceDefinition, bindInstance, create, create, destroy, getComponentProvider, getCurrentViewReference, getViewProvider
String getTitle()
com.vaadin.ui.Component asVaadinComponent()
UiFrameworkView
asVaadinComponent
in interface UiFrameworkView
asVaadinComponent
in interface View
T getChoice()
void setChoice(T choice)
Copyright © 2018 Magnolia International Ltd.. All rights reserved.