public class BirdAttributeChooser extends Object implements info.magnolia.ui.framework.chooser.Chooser<String>
Constructor and Description |
---|
BirdAttributeChooser(info.magnolia.ui.framework.chooser.definition.ChooserDefinition<String,BirdAttributeChooser> definition) |
Modifier and Type | Method and Description |
---|---|
com.vaadin.ui.Component |
asVaadinComponent() |
String |
getChoice() |
String |
getTitle() |
void |
onChange(Consumer<String> callback) |
void |
setChoice(String choice) |
public BirdAttributeChooser(info.magnolia.ui.framework.chooser.definition.ChooserDefinition<String,BirdAttributeChooser> definition)
public String getTitle()
getTitle
in interface info.magnolia.ui.framework.chooser.Chooser<String>
public com.vaadin.ui.Component asVaadinComponent()
asVaadinComponent
in interface info.magnolia.ui.api.view.View
asVaadinComponent
in interface info.magnolia.ui.framework.UiFrameworkView
public void onChange(Consumer<String> callback)
onChange
in interface info.magnolia.ui.framework.chooser.Chooser<String>
public String getChoice()
getChoice
in interface info.magnolia.ui.framework.chooser.Chooser<String>
Copyright © 2019 Magnolia International Ltd.. All rights reserved.