public class PopupItem
extends java.lang.Object
GraphDrawer
instance may ignore the group.Constructor and Description |
---|
PopupItem(java.lang.String description,
java.util.function.Consumer<GraphDrawer> onClick) |
PopupItem(java.lang.String group,
java.lang.String description,
java.util.function.Consumer<GraphDrawer> onClick) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.lang.String |
getGroup() |
java.util.function.Consumer<GraphDrawer> |
getOnClick() |
public PopupItem(java.lang.String group, java.lang.String description, java.util.function.Consumer<GraphDrawer> onClick)
public PopupItem(java.lang.String description, java.util.function.Consumer<GraphDrawer> onClick)
public java.lang.String getGroup()
public java.lang.String getDescription()
public java.util.function.Consumer<GraphDrawer> getOnClick()