Class ComboButtonActionSupport
java.lang.Object
io.jmix.flowui.kit.component.combobutton.ComboButtonActionSupport
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Actionprotected com.vaadin.flow.shared.Registrationprotected final ComboButtonprotected com.vaadin.flow.shared.Registration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddActionVariant(ComboButton component, ActionVariant actionVariant) protected voidprotected voidonButtonClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem> event) protected voidremoveActionVariant(ComboButton component, ActionVariant actionVariant) protected voidvoidprotected voidupdateActionVariant(boolean overrideComponentProperties) protected voidprotected voidupdateIcon(boolean overrideComponentProperties) protected voidupdateText(boolean overrideComponentProperties) protected voidupdateTitle(boolean overrideComponentProperties) protected void
-
Field Details
-
comboButton
-
action
-
comboButtonClickRegistration
protected com.vaadin.flow.shared.Registration comboButtonClickRegistration -
actionPropertyChangeRegistration
protected com.vaadin.flow.shared.Registration actionPropertyChangeRegistration
-
-
Constructor Details
-
ComboButtonActionSupport
-
-
Method Details
-
setAction
-
getAction
-
addActionVariant
-
removeActionVariant
-
removeRegistrations
protected void removeRegistrations() -
updateText
protected void updateText(boolean overrideComponentProperties) -
updateEnabled
protected void updateEnabled() -
updateVisible
protected void updateVisible() -
updateActionVariant
protected void updateActionVariant(boolean overrideComponentProperties) -
updateIcon
protected void updateIcon(boolean overrideComponentProperties) -
updateTitle
protected void updateTitle(boolean overrideComponentProperties) -
onButtonClick
protected void onButtonClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem> event) -
onActionPropertyChange
-