Interface Menus

  • All Known Implementing Classes:
    DefaultMenus

    @JsType
    public interface Menus
    Menus that includes permission
    • Method Detail

      • getItems

        List<MenuItem> getItems()
        Returns the items in this collection of menus, in the order they should appear in the user interface.
      • accept

        void accept​(MenuVisitor visitor)
        Causes the given MenuVisitor to 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 from getItems().
      • getOrder

        int getOrder()
        Defines the order on what these menus will be inserted.