Class GridActionsSupport<C extends com.vaadin.flow.component.grid.Grid<T>,T>

java.lang.Object
io.jmix.flowui.kit.component.delegate.AbstractActionsHolderSupport<C>
io.jmix.flowui.kit.component.grid.GridActionsSupport<C,T>
Direct Known Subclasses:
DataGridActionsSupport

public class GridActionsSupport<C extends com.vaadin.flow.component.grid.Grid<T>,T> extends AbstractActionsHolderSupport<C>
  • Field Details

  • Constructor Details

    • GridActionsSupport

      public GridActionsSupport(C component)
  • Method Details

    • addActionInternal

      protected void addActionInternal(Action action, int index)
      Overrides:
      addActionInternal in class AbstractActionsHolderSupport<C extends com.vaadin.flow.component.grid.Grid<T>>
    • addContextMenuItem

      protected void addContextMenuItem(Action action)
    • createContextMenuItemComponent

      protected GridMenuItemActionWrapper<T> createContextMenuItemComponent()
    • getContextMenu

      protected JmixGridContextMenu<T> getContextMenu()
    • initContextMenu

      protected void initContextMenu()
    • updateContextMenu

      protected void updateContextMenu()
    • removeActionInternal

      protected boolean removeActionInternal(Action action)
      Overrides:
      removeActionInternal in class AbstractActionsHolderSupport<C extends com.vaadin.flow.component.grid.Grid<T>>
    • removeContextMenuItem

      protected void removeContextMenuItem(Action action)
    • isShowActionsInContextMenuEnabled

      public boolean isShowActionsInContextMenuEnabled()
      Returns:
      true if actions are showed in grid context menu, false otherwise
    • setShowActionsInContextMenuEnabled

      public void setShowActionsInContextMenuEnabled(boolean showActionsInContextMenuEnabled)
      Sets whether to show actions in grid context menu.
      Parameters:
      showActionsInContextMenuEnabled - true if actions should be showed to context menu, false otherwise