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
Modifier and TypeFieldDescriptionprotected GridMenuItemActionSupport
protected final com.vaadin.flow.component.grid.contextmenu.GridMenuItem<T>
-
Constructor Summary
ConstructorDescriptionGridMenuItemActionWrapper
(com.vaadin.flow.component.grid.contextmenu.GridMenuItem<T> menuItem) -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(com.vaadin.flow.component.Component... components) void
void
addComponentAsFirst
(com.vaadin.flow.component.Component component) void
addComponentAtIndex
(int index, com.vaadin.flow.component.Component component) com.vaadin.flow.shared.Registration
addMenuItemClickListener
(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.grid.contextmenu.GridContextMenu.GridContextMenuItemClickEvent<T>> clickListener) protected GridMenuItemActionSupport
com.vaadin.flow.dom.Element
getId()
com.vaadin.flow.component.grid.contextmenu.GridMenuItem<T>
getText()
com.vaadin.flow.component.HasText.WhiteSpace
boolean
boolean
boolean
boolean
void
remove
(com.vaadin.flow.component.Component... components) void
void
void
setCheckable
(boolean checkable) void
setChecked
(boolean checked) void
setEnabled
(boolean enabled) void
void
void
setVisible
(boolean visible) void
setWhiteSpace
(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:
isEnabled
in interfacecom.vaadin.flow.component.HasEnabled
-
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabled
in interfacecom.vaadin.flow.component.HasEnabled
-
getText
- Specified by:
getText
in interfacecom.vaadin.flow.component.HasText
-
setText
- Specified by:
setText
in interfacecom.vaadin.flow.component.HasText
-
getWhiteSpace
public com.vaadin.flow.component.HasText.WhiteSpace getWhiteSpace()- Specified by:
getWhiteSpace
in interfacecom.vaadin.flow.component.HasText
-
setWhiteSpace
public void setWhiteSpace(com.vaadin.flow.component.HasText.WhiteSpace value) - Specified by:
setWhiteSpace
in interfacecom.vaadin.flow.component.HasText
-
add
public void add(com.vaadin.flow.component.Component... components) - Specified by:
add
in interfacecom.vaadin.flow.component.HasComponents
-
add
- Specified by:
add
in interfacecom.vaadin.flow.component.HasComponents
-
remove
public void remove(com.vaadin.flow.component.Component... components) - Specified by:
remove
in interfacecom.vaadin.flow.component.HasComponents
-
removeAll
public void removeAll()- Specified by:
removeAll
in interfacecom.vaadin.flow.component.HasComponents
-
addComponentAtIndex
public void addComponentAtIndex(int index, com.vaadin.flow.component.Component component) - Specified by:
addComponentAtIndex
in interfacecom.vaadin.flow.component.HasComponents
-
addComponentAsFirst
public void addComponentAsFirst(com.vaadin.flow.component.Component component) - Specified by:
addComponentAsFirst
in interfacecom.vaadin.flow.component.HasComponents
-
getElement
public com.vaadin.flow.dom.Element getElement()- Specified by:
getElement
in interfacecom.vaadin.flow.component.HasElement
-
getActionSupport
-
createActionSupport
-