Class GridMenuItemActionWrapper<T>
java.lang.Object
io.jmix.flowui.kit.component.grid.GridMenuItemActionWrapper<T>
- All Implemented Interfaces:
com.vaadin.flow.component.HasComponents,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasText,Serializable
public class GridMenuItemActionWrapper<T>
extends Object
implements com.vaadin.flow.component.HasText, com.vaadin.flow.component.HasComponents, com.vaadin.flow.component.HasEnabled
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasText
com.vaadin.flow.component.HasText.WhiteSpace -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected GridMenuItemActionSupportprotected final com.vaadin.flow.component.grid.contextmenu.GridMenuItem<T> -
Constructor Summary
ConstructorsConstructorDescriptionGridMenuItemActionWrapper(com.vaadin.flow.component.grid.contextmenu.GridMenuItem<T> menuItem) -
Method Summary
Modifier 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.dom.ElementgetId()com.vaadin.flow.component.grid.contextmenu.GridMenuItem<T>getText()com.vaadin.flow.component.HasText.WhiteSpacebooleanbooleanbooleanbooleanvoidremove(com.vaadin.flow.component.Component... components) voidvoidvoidsetCheckable(boolean checkable) voidsetChecked(boolean checked) voidsetEnabled(boolean enabled) voidvoidvoidsetVisible(boolean visible) voidsetWhiteSpace(com.vaadin.flow.component.HasText.WhiteSpace value)
-
Field Details
-
actionSupport
-
Constructor Details
-
Method Details
-
getMenuItem
-
getAction
-
setAction
-
addMenuItemClickListener
public com.vaadin.flow.shared.Registration addMenuItemClickListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.grid.contextmenu.GridContextMenu.GridContextMenuItemClickEvent<T>> clickListener) -
isCheckable
public boolean isCheckable() -
setCheckable
public void setCheckable(boolean checkable) -
isChecked
public boolean isChecked() -
setChecked
public void setChecked(boolean checked) -
getId
-
setId
-
isVisible
public boolean isVisible() -
setVisible
public void setVisible(boolean visible) -
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfacecom.vaadin.flow.component.HasEnabled
-
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabledin interfacecom.vaadin.flow.component.HasEnabled
-
getText
- Specified by:
getTextin interfacecom.vaadin.flow.component.HasText
-
setText
- Specified by:
setTextin interfacecom.vaadin.flow.component.HasText
-
getWhiteSpace
public com.vaadin.flow.component.HasText.WhiteSpace getWhiteSpace()- Specified by:
getWhiteSpacein interfacecom.vaadin.flow.component.HasText
-
setWhiteSpace
public void setWhiteSpace(com.vaadin.flow.component.HasText.WhiteSpace value) - Specified by:
setWhiteSpacein interfacecom.vaadin.flow.component.HasText
-
add
public void add(com.vaadin.flow.component.Component... components) - Specified by:
addin interfacecom.vaadin.flow.component.HasComponents
-
add
- Specified by:
addin interfacecom.vaadin.flow.component.HasComponents
-
remove
public void remove(com.vaadin.flow.component.Component... components) - Specified by:
removein interfacecom.vaadin.flow.component.HasComponents
-
removeAll
public void removeAll()- Specified by:
removeAllin interfacecom.vaadin.flow.component.HasComponents
-
addComponentAtIndex
public void addComponentAtIndex(int index, com.vaadin.flow.component.Component component) - Specified by:
addComponentAtIndexin interfacecom.vaadin.flow.component.HasComponents
-
addComponentAsFirst
public void addComponentAsFirst(com.vaadin.flow.component.Component component) - Specified by:
addComponentAsFirstin interfacecom.vaadin.flow.component.HasComponents
-
getElement
public com.vaadin.flow.dom.Element getElement()- Specified by:
getElementin interfacecom.vaadin.flow.component.HasElement
-
getActionSupport
-
createActionSupport
-