public class PopupMenu extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PopupMenu.Item |
class |
PopupMenu.Submenu |
| Constructor and Description |
|---|
PopupMenu() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(IUIAction<?> action) |
void |
addItem(String caption,
String icon,
IClicked<NodeBase> clk) |
void |
addItem(String caption,
String icon,
String hint,
boolean disabled,
IClicked<NodeBase> clk) |
PopupMenu.Submenu |
addMenu(String caption,
String icon,
String hint,
boolean disabled,
Object target) |
<T> void |
show(NodeContainer ref,
T target) |
public void addItem(@Nonnull String caption, String icon, String hint, boolean disabled, IClicked<NodeBase> clk)
@Nonnull public PopupMenu.Submenu addMenu(@Nonnull String caption, String icon, String hint, boolean disabled, Object target)
public <T> void show(NodeContainer ref, T target)
ref - target - Copyright © 2017 etc.to. All rights reserved.