Class GridMenuItemActionWrapper<T>
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<com.vaadin.flow.component.html.Div>
io.jmix.flowui.kit.component.grid.GridMenuItemActionWrapper<T>
- All Implemented Interfaces:
- com.vaadin.flow.component.AttachNotifier,- com.vaadin.flow.component.DetachNotifier,- com.vaadin.flow.component.HasComponents,- com.vaadin.flow.component.HasElement,- com.vaadin.flow.component.HasEnabled,- com.vaadin.flow.component.HasStyle,- com.vaadin.flow.component.HasText,- com.vaadin.flow.component.shared.HasPrefix,- com.vaadin.flow.component.shared.HasSuffix,- com.vaadin.flow.component.shared.HasTooltip,- HasAction,- Serializable
- Direct Known Subclasses:
- GridContextMenuItemComponent
public class GridMenuItemActionWrapper<T>
extends com.vaadin.flow.component.Composite<com.vaadin.flow.component.html.Div>
implements com.vaadin.flow.component.HasText, com.vaadin.flow.component.HasComponents, com.vaadin.flow.component.shared.HasPrefix, com.vaadin.flow.component.shared.HasSuffix, com.vaadin.flow.component.shared.HasTooltip, HasAction
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.vaadin.flow.component.HasTextcom.vaadin.flow.component.HasText.WhiteSpace
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected GridMenuItemActionSupportprotected static final Stringprotected com.vaadin.flow.component.grid.contextmenu.GridMenuItem<T>protected static final Stringprotected com.vaadin.flow.component.Componentprotected static final Stringprotected com.vaadin.flow.component.Componentprotected static final Stringprotected com.vaadin.flow.component.html.Spanprotected com.vaadin.flow.component.shared.Tooltip
- 
Constructor SummaryConstructorsConstructorDescriptionGridMenuItemActionWrapper(com.vaadin.flow.component.grid.contextmenu.GridMenuItem<T> menuItem) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidadd(com.vaadin.flow.component.Component... components) voidvoidaddComponentAsFirst(com.vaadin.flow.component.Component component) voidaddComponentAtIndex(int index, com.vaadin.flow.component.Component component) com.vaadin.flow.shared.RegistrationaddMenuItemClickListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.grid.contextmenu.GridContextMenu.GridContextMenuItemClickEvent<T>> clickListener) protected GridMenuItemActionSupportcom.vaadin.flow.component.grid.contextmenu.GridMenuItem<T>com.vaadin.flow.component.Componentcom.vaadin.flow.component.ComponentgetText()com.vaadin.flow.component.shared.Tooltipprotected com.vaadin.flow.component.shared.Tooltipcom.vaadin.flow.component.HasText.WhiteSpaceprotected com.vaadin.flow.component.html.DivbooleanbooleanbooleanisEmpty()voidremove(com.vaadin.flow.component.Component... components) voidvoidvoidsetCheckable(boolean checkable) voidsetChecked(boolean checked) voidsetMenuItem(com.vaadin.flow.component.grid.contextmenu.GridMenuItem<T> menuItem) voidsetPrefixComponent(com.vaadin.flow.component.Component component) protected voidsetPrefixComponentInternal(com.vaadin.flow.component.Component prefixComponent) voidsetSuffixComponent(com.vaadin.flow.component.Component component) protected voidsetSuffixComponentInternal(com.vaadin.flow.component.Component suffixComponent) voidprotected voidsetTextComponentInternal(com.vaadin.flow.component.html.Span textComponent) com.vaadin.flow.component.shared.TooltipsetTooltipText(String text) voidsetWhiteSpace(com.vaadin.flow.component.HasText.WhiteSpace value) protected voidupdateContent(com.vaadin.flow.component.Component prefixComponent, com.vaadin.flow.component.html.Span textComponent, com.vaadin.flow.component.Component suffixComponent) Methods inherited from class com.vaadin.flow.component.CompositegetChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.ComponentaddListener, findAncestor, fireEvent, from, get, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifieraddAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifieraddDetachListenerMethods inherited from interface com.vaadin.flow.component.HasComponentsadd, removeMethods inherited from interface com.vaadin.flow.component.HasElementgetElementMethods inherited from interface com.vaadin.flow.component.HasEnabledisEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasStyleaddClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
- 
Field Details- 
ITEM_COMPONENT_CLASS_NAME- See Also:
 
- 
PREFIX_COMPONENT_CLASS_NAME- See Also:
 
- 
TEXT_COMPONENT_CLASS_NAME- See Also:
 
- 
SUFFIX_COMPONENT_CLASS_NAME- See Also:
 
- 
textComponentprotected com.vaadin.flow.component.html.Span textComponent
- 
prefixComponentprotected com.vaadin.flow.component.Component prefixComponent
- 
suffixComponentprotected com.vaadin.flow.component.Component suffixComponent
- 
tooltipprotected com.vaadin.flow.component.shared.Tooltip tooltip
- 
actionSupport
 
- 
- 
Constructor Details- 
GridMenuItemActionWrapperpublic GridMenuItemActionWrapper()
 
- 
- 
Method Details- 
initContentprotected com.vaadin.flow.component.html.Div initContent()- Overrides:
- initContentin class- com.vaadin.flow.component.Composite<com.vaadin.flow.component.html.Div>
 
- 
getMenuItem
- 
getAction
- 
setAction
- 
addMenuItemClickListenerpublic com.vaadin.flow.shared.Registration addMenuItemClickListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.grid.contextmenu.GridContextMenu.GridContextMenuItemClickEvent<T>> clickListener) 
- 
isCheckablepublic boolean isCheckable()
- 
setCheckablepublic void setCheckable(boolean checkable) 
- 
isCheckedpublic boolean isChecked()
- 
setCheckedpublic void setChecked(boolean checked) 
- 
getText- Specified by:
- getTextin interface- com.vaadin.flow.component.HasText
 
- 
setText- Specified by:
- setTextin interface- com.vaadin.flow.component.HasText
 
- 
updateContentprotected void updateContent(@Nullable com.vaadin.flow.component.Component prefixComponent, @Nullable com.vaadin.flow.component.html.Span textComponent, @Nullable com.vaadin.flow.component.Component suffixComponent) 
- 
setPrefixComponentInternalprotected void setPrefixComponentInternal(@Nullable com.vaadin.flow.component.Component prefixComponent) 
- 
setTextComponentInternalprotected void setTextComponentInternal(@Nullable com.vaadin.flow.component.html.Span textComponent) 
- 
setSuffixComponentInternalprotected void setSuffixComponentInternal(@Nullable com.vaadin.flow.component.Component suffixComponent) 
- 
getPrefixComponent@Nullable public com.vaadin.flow.component.Component getPrefixComponent()- Specified by:
- getPrefixComponentin interface- com.vaadin.flow.component.shared.HasPrefix
 
- 
setPrefixComponentpublic void setPrefixComponent(@Nullable com.vaadin.flow.component.Component component) - Specified by:
- setPrefixComponentin interface- com.vaadin.flow.component.shared.HasPrefix
 
- 
getSuffixComponent@Nullable public com.vaadin.flow.component.Component getSuffixComponent()- Specified by:
- getSuffixComponentin interface- com.vaadin.flow.component.shared.HasSuffix
 
- 
setSuffixComponentpublic void setSuffixComponent(@Nullable com.vaadin.flow.component.Component component) - Specified by:
- setSuffixComponentin interface- com.vaadin.flow.component.shared.HasSuffix
 
- 
getTooltippublic com.vaadin.flow.component.shared.Tooltip getTooltip()- Specified by:
- getTooltipin interface- com.vaadin.flow.component.shared.HasTooltip
 
- 
getTooltipInternalprotected com.vaadin.flow.component.shared.Tooltip getTooltipInternal()
- 
setTooltipText- Specified by:
- setTooltipTextin interface- com.vaadin.flow.component.shared.HasTooltip
 
- 
getWhiteSpacepublic com.vaadin.flow.component.HasText.WhiteSpace getWhiteSpace()- Specified by:
- getWhiteSpacein interface- com.vaadin.flow.component.HasText
 
- 
setWhiteSpacepublic void setWhiteSpace(com.vaadin.flow.component.HasText.WhiteSpace value) - Specified by:
- setWhiteSpacein interface- com.vaadin.flow.component.HasText
 
- 
addpublic void add(com.vaadin.flow.component.Component... components) - Specified by:
- addin interface- com.vaadin.flow.component.HasComponents
 
- 
add- Specified by:
- addin interface- com.vaadin.flow.component.HasComponents
 
- 
removepublic void remove(com.vaadin.flow.component.Component... components) - Specified by:
- removein interface- com.vaadin.flow.component.HasComponents
 
- 
removeAllpublic void removeAll()- Specified by:
- removeAllin interface- com.vaadin.flow.component.HasComponents
 
- 
addComponentAtIndexpublic void addComponentAtIndex(int index, com.vaadin.flow.component.Component component) - Specified by:
- addComponentAtIndexin interface- com.vaadin.flow.component.HasComponents
 
- 
addComponentAsFirstpublic void addComponentAsFirst(com.vaadin.flow.component.Component component) - Specified by:
- addComponentAsFirstin interface- com.vaadin.flow.component.HasComponents
 
- 
getActionSupport
- 
createActionSupport
- 
isEmptypublic boolean isEmpty()
 
-