public class PopupBuilder extends Object
Constructor and Description |
---|
PopupBuilder()
Create the popup builder.
|
PopupBuilder(List rawmenu)
Create the popup builder.
|
PopupBuilder(Object[] rawmenu)
Create the popup builder.
|
Modifier and Type | Method and Description |
---|---|
void |
addItem(Object item)
Add an item.
|
JPopupMenu |
buildPopupMenu()
Build the popup menu.
|
void |
removeItem(Object item)
Remove an item.
|
public PopupBuilder()
rawmenu
- The raw menu.public PopupBuilder(List rawmenu)
rawmenu
- The raw menu.public PopupBuilder(Object[] rawmenu)
rawmenu
- The raw menu.public JPopupMenu buildPopupMenu()
public void addItem(Object item)
item
- The item (Action or IMenuItemConstructor).public void removeItem(Object item)
item
- The item (Action or IMenuItemConstructor).Copyright © 2013. All Rights Reserved.