Class MenuItem

    • Constructor Detail

      • MenuItem

        public MenuItem​(String title)
        Constructor
        Parameters:
        title - the title of the menu-item
      • MenuItem

        public MenuItem​(String title,
                        String icon)
        Constructor
        Parameters:
        title - the title of the menu-item
        icon - the icon css class (ie: ui-my-icon)
      • MenuItem

        public MenuItem​(IModel<String> title)
        Constructor
        Parameters:
        title - IModel that represent the title of the menu-item
      • MenuItem

        public MenuItem​(IModel<String> title,
                        String icon)
        Constructor
        Parameters:
        title - IModel that represent the title of the menu-item
        icon - the icon css class (ie: ui-my-icon)
      • MenuItem

        public MenuItem​(String title,
                        List<IMenuItem> items)
        Constructor
        Parameters:
        title - the title of the menu-item
        items - the sub-menu items
      • MenuItem

        public MenuItem​(String title,
                        String icon,
                        List<IMenuItem> items)
        Constructor
        Parameters:
        title - the title of the menu-item
        icon - the icon css class (ie: ui-my-icon)
        items - the sub-menu items
      • MenuItem

        public MenuItem​(IModel<String> title,
                        List<IMenuItem> items)
        Constructor
        Parameters:
        title - IModel that represent the title of the menu-item
        items - the sub-menu items
      • MenuItem

        public MenuItem​(IModel<String> title,
                        String icon,
                        List<IMenuItem> items)
        Constructor
        Parameters:
        title - IModel that represent the title of the menu-item
        icon - the icon css class (ie: ui-my-icon)
        items - the sub-menu items