Class JmixGroupGridActionsSupport<C extends Grid<T>,T>

java.lang.Object
io.jmix.flowui.kit.component.delegate.AbstractActionsHolderSupport<C>
io.jmix.groupgridflowui.kit.component.JmixGroupGridActionsSupport<C,T>
Type Parameters:
C - grid type
T - item type
Direct Known Subclasses:
GroupDataGridActionsSupport

public class JmixGroupGridActionsSupport<C extends Grid<T>,T> extends AbstractActionsHolderSupport<C>
Experimental. It can be changed or removed in later releases.
  • Field Details

  • Constructor Details

    • JmixGroupGridActionsSupport

      public JmixGroupGridActionsSupport(C component)
  • Method Details

    • addActionInternal

      protected void addActionInternal(Action action, int index)
      Overrides:
      addActionInternal in class AbstractActionsHolderSupport<C extends Grid<T>>
    • addContextMenuItem

      protected void addContextMenuItem(Action action)
    • createContextMenuItemComponent

      protected JmixGroupGridMenuItemActionWrapper<T> createContextMenuItemComponent()
    • getContextMenu

      protected JmixGroupGridContextMenu<T> getContextMenu()
    • initContextMenu

      protected void initContextMenu()
    • updateContextMenu

      protected void updateContextMenu()
    • removeActionInternal

      protected boolean removeActionInternal(Action action)
      Overrides:
      removeActionInternal in class AbstractActionsHolderSupport<C extends Grid<T>>
    • removeContextMenuItem

      protected void removeContextMenuItem(Action action)
    • isShowActionsInContextMenuEnabled

      public boolean isShowActionsInContextMenuEnabled()
      Returns:
      true if actions are shown 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 shown to context menu, false otherwise