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>

public static class AbstractDataGrid.ActionMenuItemWrapper extends Object
  • Field Details

    • action

      protected Action action
    • showIconsForPopupMenuActions

      protected boolean showIconsForPopupMenuActions
    • iconResolver

      protected IconResolver iconResolver
    • actionPropertyChangeListener

      protected Consumer<PropertyChangeEvent> actionPropertyChangeListener
  • Constructor Details

    • ActionMenuItemWrapper

      public ActionMenuItemWrapper(com.vaadin.ui.MenuBar.MenuItem menuItem, boolean showIconsForPopupMenuActions, IconResolver iconResolver)
  • Method Details

    • performAction

      public void performAction(Action action)
    • getMenuItem

      public com.vaadin.ui.MenuBar.MenuItem getMenuItem()
    • getAction

      public Action getAction()
    • setAction

      public void setAction(@Nullable Action action)
    • setEnabled

      public void setEnabled(boolean enabled)
    • setVisible

      public void setVisible(boolean visible)
    • setIcon

      public void setIcon(@Nullable String icon)
    • setCaption

      public void setCaption(@Nullable String caption)