Annotation Type Menu.Entry
-
public static @interface Menu.EntryAnnotates aMenuitem for a particular sub-query.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringcategoryThe category for the menu item, optionally preceded by a number indicating the menu order with a vertical bar separator.java.lang.StringhelpThe help for the menu item.java.lang.StringhelpUrlThe help URL for the menu item.java.lang.StringiconThe icon path for the menu item.java.lang.StringlabelThe label for the menu item, optionally preceded by a number indicating the menu order with a vertical bar separator.java.lang.StringoptionsThe specific options for the query for this menu item.
-
-
-
Element Detail
-
category
java.lang.String category
The category for the menu item, optionally preceded by a number indicating the menu order with a vertical bar separator. Overrides theCategoryfor the query class.- Returns:
- the menu category
- Default:
- ""
-
-
-
icon
java.lang.String icon
The icon path for the menu item. Overrides theIconfor the query class.- Returns:
- the icon path
- Default:
- ""
-
-
-
label
java.lang.String label
The label for the menu item, optionally preceded by a number indicating the menu order with a vertical bar separator. The equivalent of theNamefor an ordinary query.- Returns:
- the label
- Default:
- ""
-
-