public static final class ShowContextMenuCallback.Action extends AsyncCallbackAction<Response>
ShowContextMenuCallback.| Constructor and Description |
|---|
Action(java.util.function.Consumer<Response> consumer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Notifies the browser that the context menu should be closed without selecting any context
menu item.
|
void |
select(ContextMenuItem item)
Notifies the browser the
item should be selected. |
isClosedpublic void select(ContextMenuItem item)
item should be selected. The browser will execute the
corresponding functionality of the selected context menu item. The context menu state
will be changed to closed.public void close()