Annotation Type Menu.Entry
- Enclosing class:
- Menu
public static @interface Menu.Entry
Annotates a
Menu
item for a particular sub-query.-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionThe category for the menu item, optionally preceded by a number indicating the menu order with a vertical bar separator.The help for the menu item.The help URL for the menu item.The icon path for the menu item.The label for the menu item, optionally preceded by a number indicating the menu order with a vertical bar separator.The specific options for the query for this menu item.
-
Element Details
-
category
String categoryThe category for the menu item, optionally preceded by a number indicating the menu order with a vertical bar separator. Overrides theCategory
for the query class.- Returns:
- the menu category
- Default:
- ""
-
icon
String iconThe icon path for the menu item. Overrides theIcon
for the query class.- Returns:
- the icon path
- Default:
- ""
-
label
String labelThe label for the menu item, optionally preceded by a number indicating the menu order with a vertical bar separator. The equivalent of theName
for an ordinary query.- Returns:
- the label
- Default:
- ""
-
help
String helpThe help for the menu item. Overrides the help for the query class.- Returns:
- the help
- Default:
- ""
-
helpUrl
String helpUrlThe help URL for the menu item. Overrides the help URL for the query class.- Returns:
- the help URL
- Default:
- ""
-
options
String optionsThe specific options for the query for this menu item. Overrides default argument options for the query class.- Returns:
- the specific options
- Default:
- ""
-