public final class CommandMenuSpec extends CommandItemSpec
Command
s.Modifier and Type | Field and Description |
---|---|
CommandItemSpec[] |
items
Specifications of the menu items.
|
commandName, commandParameter, icon, iconURL, label, toolTip
Constructor and Description |
---|
CommandMenuSpec(String label,
CommandItemSpec[] items)
Constructs a menu specification.
|
Modifier and Type | Method and Description |
---|---|
CommandMenuSpec |
copy()
Returns a deep copy of this menu.
|
protected CommandItemSpec |
doCopy() |
public CommandItemSpec[] items
public CommandMenuSpec(String label, CommandItemSpec[] items)
label
- label of this menu; may be null
unless
this menu is a sub menu of another menuitems
- specifications of the menu itemspublic CommandMenuSpec copy()
protected CommandItemSpec doCopy()
doCopy
in class CommandItemSpec