Class JmixButtonActionSupport
java.lang.Object
io.jmix.flowui.kit.component.button.JmixButtonActionSupport
-
Field Summary
Modifier and TypeFieldDescriptionprotected Action
protected com.vaadin.flow.shared.Registration
protected final JmixButton
protected com.vaadin.flow.shared.Registration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addActionVariant
(JmixButton component, ActionVariant actionVariant) protected void
protected void
onButtonClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected void
removeActionVariant
(JmixButton component, ActionVariant actionVariant) protected void
void
protected void
updateActionVariant
(boolean overrideComponentProperties) protected void
protected void
updateIcon
(boolean overrideComponentProperties) protected void
updateShortcutCombination
(boolean overrideComponentProperties) protected void
updateText
(boolean overrideComponentProperties) protected void
updateTitle
(boolean overrideComponentProperties) protected void
-
Field Details
-
button
-
action
-
buttonClickRegistration
protected com.vaadin.flow.shared.Registration buttonClickRegistration -
actionPropertyChangeRegistration
protected com.vaadin.flow.shared.Registration actionPropertyChangeRegistration
-
-
Constructor Details
-
JmixButtonActionSupport
-
-
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) -
updateShortcutCombination
protected void updateShortcutCombination(boolean overrideComponentProperties) -
onButtonClick
protected void onButtonClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
onActionPropertyChange
-