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 SummaryFieldsModifier and TypeFieldDescriptionprotected Map<Action,GridMenuItemActionWrapper<T>> protected JmixGridContextMenu<T>protected booleanFields inherited from class io.jmix.flowui.kit.component.delegate.AbstractActionsHolderSupportactions, actionShortcutBinding, component
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidaddActionInternal(Action action, int index) protected voidaddContextMenuItem(Action action) protected GridMenuItemActionWrapper<T>protected JmixGridContextMenu<T>protected voidbooleanprotected booleanremoveActionInternal(Action action) protected voidremoveContextMenuItem(Action action) voidsetShowActionsInContextMenuEnabled(boolean showActionsInContextMenuEnabled) Sets whether to show actions in grid context menu.protected voidMethods inherited from class io.jmix.flowui.kit.component.delegate.AbstractActionsHolderSupportaddAction, addAction, addShortcutListenerIfNeeded, attachAction, detachAction, getAction, getActions, getActionShortcutBinding, getDefaultListenOnComponent, getShortcutLifecycleOwner, removeAction, removeShortcutListener
- 
Field Details- 
actionBinding
- 
contextMenu
- 
showActionsInContextMenuEnabledprotected boolean showActionsInContextMenuEnabled
 
- 
- 
Constructor Details- 
GridActionsSupport
 
- 
- 
Method Details- 
addActionInternal- Overrides:
- addActionInternalin class- AbstractActionsHolderSupport<C extends com.vaadin.flow.component.grid.Grid<T>>
 
- 
addContextMenuItem
- 
createContextMenuItemComponent
- 
getContextMenu
- 
initContextMenuprotected void initContextMenu()
- 
updateContextMenuprotected void updateContextMenu()
- 
removeActionInternal- Overrides:
- removeActionInternalin class- AbstractActionsHolderSupport<C extends com.vaadin.flow.component.grid.Grid<T>>
 
- 
removeContextMenuItem
- 
isShowActionsInContextMenuEnabledpublic boolean isShowActionsInContextMenuEnabled()- Returns:
- true if actions are showed in grid context menu, false otherwise
 
- 
setShowActionsInContextMenuEnabledpublic 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
 
 
-