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