Interface Menus
-
- All Known Implementing Classes:
DefaultMenus
@JsType public interface MenusMenus that includes permission
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidaccept(MenuVisitor visitor)Causes the givenMenuVisitorto visit this menu, then each item in turn (they will pass the visitor to their descendants).List<MenuItem>getItems()Returns the items in this collection of menus, in the order they should appear in the user interface.Map<Object,MenuItem>getItemsMap()Deprecated.intgetOrder()Defines the order on what these menus will be inserted.
-
-
-
Method Detail
-
getItems
List<MenuItem> getItems()
Returns the items in this collection of menus, in the order they should appear in the user interface.
-
getItemsMap
@Deprecated Map<Object,MenuItem> getItemsMap()
Deprecated.
-
accept
void accept(MenuVisitor visitor)
Causes the givenMenuVisitorto visit this menu, then each item in turn (they will pass the visitor to their descendants). The menu items will be visited via an pre-order traversal (parents are visited before their children). Top-level menu items are visited in the same order as they are returned fromgetItems().
-
getOrder
int getOrder()
Defines the order on what these menus will be inserted.
-
-