Class AbstractDropdownButton.ActionItemImpl
java.lang.Object
io.jmix.flowui.kit.component.dropdownbutton.AbstractDropdownButton.AbstractDropdownButtonItem
io.jmix.flowui.kit.component.dropdownbutton.AbstractDropdownButton.ActionItemImpl
- All Implemented Interfaces:
AbstractDropdownButton.HasMenuItem
,ActionItem
,DropdownButtonItem
- Enclosing class:
- AbstractDropdownButton
protected static class AbstractDropdownButton.ActionItemImpl
extends AbstractDropdownButton.AbstractDropdownButtonItem
implements ActionItem
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.flowui.kit.component.dropdownbutton.DropdownButtonItem
DropdownButtonItem.ClickEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected Action
protected static final String
protected com.vaadin.flow.component.html.Div
protected com.vaadin.flow.component.icon.Icon
Fields inherited from class io.jmix.flowui.kit.component.dropdownbutton.AbstractDropdownButton.AbstractDropdownButtonItem
id, item, menuItemClickListenerRegistration, parent
-
Constructor Summary
ConstructorDescriptionActionItemImpl
(String id, Action action, DropdownButtonComponent parent, AbstractDropdownButton.MenuItemProvider<com.vaadin.flow.component.html.Div> actionMenuItemProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
onItemClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem> event) protected void
protected void
updateContent
(String text, com.vaadin.flow.component.icon.Icon icon) protected void
Methods inherited from class io.jmix.flowui.kit.component.dropdownbutton.AbstractDropdownButton.AbstractDropdownButtonItem
addClickListener, getEventBus, getId, getItem, getParent, internalRemoveDropdownButtonItemClickListener, isEnabled, isVisible, setEnabled, setItem, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.flowui.kit.component.dropdownbutton.ActionItem
addClickListener
Methods inherited from interface io.jmix.flowui.kit.component.dropdownbutton.DropdownButtonItem
getId, getParent, isEnabled, isVisible, setEnabled, setVisible
-
Field Details
-
ACTION_ITEM_ICON_CLASS_NAME
- See Also:
-
iconComponent
protected com.vaadin.flow.component.icon.Icon iconComponent -
actionLayout
protected com.vaadin.flow.component.html.Div actionLayout -
action
-
-
Constructor Details
-
ActionItemImpl
public ActionItemImpl(String id, Action action, DropdownButtonComponent parent, AbstractDropdownButton.MenuItemProvider<com.vaadin.flow.component.html.Div> actionMenuItemProvider)
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceActionItem
-
setupAction
protected void setupAction() -
onItemClick
protected void onItemClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.contextmenu.MenuItem> event) -
onActionPropertyChange
-
updateContent
-
updateThemeAttribute
protected void updateThemeAttribute()
-