Package io.jmix.ui.component.impl
Class AbstractDataGrid.ActionMenuItemWrapper
java.lang.Object
io.jmix.ui.component.impl.AbstractDataGrid.ActionMenuItemWrapper
- Enclosing class:
- AbstractDataGrid<C extends com.vaadin.ui.Grid<E> & JmixEnhancedGrid<E>,
E>
-
Field Summary
Modifier and TypeFieldDescriptionprotected Action
protected Consumer<PropertyChangeEvent>
protected IconResolver
protected com.vaadin.ui.MenuBar.MenuItem
protected boolean
-
Constructor Summary
ConstructorDescriptionActionMenuItemWrapper
(com.vaadin.ui.MenuBar.MenuItem menuItem, boolean showIconsForPopupMenuActions, IconResolver iconResolver) -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.ui.MenuBar.MenuItem
void
performAction
(Action action) void
void
setCaption
(String caption) void
setEnabled
(boolean enabled) void
void
setVisible
(boolean visible)
-
Field Details
-
action
-
showIconsForPopupMenuActions
protected boolean showIconsForPopupMenuActions -
iconResolver
-
actionPropertyChangeListener
-
Constructor Details
-
ActionMenuItemWrapper
public ActionMenuItemWrapper(com.vaadin.ui.MenuBar.MenuItem menuItem, boolean showIconsForPopupMenuActions, IconResolver iconResolver)
-
-
Method Details
-
performAction
-
getMenuItem
public com.vaadin.ui.MenuBar.MenuItem getMenuItem() -
getAction
-
setAction
-
setEnabled
public void setEnabled(boolean enabled) -
setVisible
public void setVisible(boolean visible) -
setIcon
-
setCaption
-