Package | Description |
---|---|
com.vaadin.flow.component.contextmenu | |
com.vaadin.flow.component.grid |
Modifier and Type | Method and Description |
---|---|
protected MenuItem |
ContextMenuBase.addItem(Component component)
Creates and adds a new item component to this context menu with the given
component inside.
|
MenuItem |
ContextMenu.addItem(Component component,
ComponentEventListener<ClickEvent<MenuItem>> clickListener)
Adds a new item component with the given component and click listener to
the context menu overlay.
|
protected MenuItem |
ContextMenuBase.addItem(String text)
Creates and adds a new item component to this context menu with the given
text content.
|
MenuItem |
ContextMenu.addItem(String text,
ComponentEventListener<ClickEvent<MenuItem>> clickListener)
Adds a new item component with the given text content and click listener
to the context menu overlay.
|
Modifier and Type | Method and Description |
---|---|
List<MenuItem> |
ContextMenuBase.getItems()
Gets the items added to this component (the children of this component
that are instances of
MenuItem ). |
Modifier and Type | Method and Description |
---|---|
MenuItem |
ContextMenu.addItem(Component component,
ComponentEventListener<ClickEvent<MenuItem>> clickListener)
Adds a new item component with the given component and click listener to
the context menu overlay.
|
MenuItem |
ContextMenu.addItem(String text,
ComponentEventListener<ClickEvent<MenuItem>> clickListener)
Adds a new item component with the given text content and click listener
to the context menu overlay.
|
Modifier and Type | Method and Description |
---|---|
MenuItem |
GridContextMenu.addItem(Component component,
ComponentEventListener<GridContextMenu.GridContextMenuItemClickEvent<T>> clickListener)
Adds a new item component with the given component and click listener to
the context menu overlay.
|
MenuItem |
GridContextMenu.addItem(String text,
ComponentEventListener<GridContextMenu.GridContextMenuItemClickEvent<T>> clickListener)
Adds a new item component with the given text content and click listener
to the context menu overlay.
|
Copyright © 2019. All rights reserved.