protected static class ContextMenusOnShapes.ContextMenu extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONTEXT_MENU_INFO |
protected ContextMenusOnShapes.ContextMenuInfo |
ctxMenuInfo |
protected ArrayList<JMenuItem> |
menuItems |
protected JMenuItem |
menuTitleItem |
protected Component |
sourceComponent |
Constructor and Description |
---|
ContextMenu(Component sourceComponent,
ContextMenusOnShapes.ContextMenuInfo contextMenuInfo) |
Modifier and Type | Method and Description |
---|---|
protected void |
makeMenuItems() |
protected void |
makeMenuTitle() |
void |
show(MouseEvent event) |
public static final String CONTEXT_MENU_INFO
protected ContextMenusOnShapes.ContextMenuInfo ctxMenuInfo
protected JMenuItem menuTitleItem
protected Component sourceComponent
public ContextMenu(Component sourceComponent, ContextMenusOnShapes.ContextMenuInfo contextMenuInfo)
protected void makeMenuItems()
protected void makeMenuTitle()
public void show(MouseEvent event)