@Documented @Retention(value=SOURCE) @Target(value=PACKAGE) @Repeatable(value=Menus.class) public @interface Menu
Modifier and Type | Required Element and Description |
---|---|
String |
displayName
The text of the menu.
|
String |
id
The ID of the menu to be registered.
|
int |
position
The position to order the menus in a parent menu/ menu bar.
|
public abstract String id
path()
,
MenuEntry.path()
public abstract String displayName
public abstract int position
public abstract String path
Copyright © 2012–2017 Drombler. All rights reserved.