Package com.axelor.ui

Class QuickMenu


  • public class QuickMenu
    extends Object
    A quick menu displayed on default page
    • Constructor Detail

      • QuickMenu

        public QuickMenu()
        Create a new instance of the QuickMenu
      • QuickMenu

        public QuickMenu​(String title,
                         int order,
                         boolean showingSelected,
                         List<QuickMenuItem> items)
        Create a new instance of the QuickMenu
        Parameters:
        title - title
        order - order
        showingSelected - whether to show selected state on items
        items - list of QuickMenuItem
      • QuickMenu

        public QuickMenu​(String title,
                         int order,
                         boolean showingSelected,
                         QuickMenuItem... items)
        Create a new instance of the QuickMenu
        Parameters:
        title - title
        order - order
        showingSelected - whether to show selected state on items
        items - items of QuickMenuItem
    • Method Detail

      • getTitle

        public String getTitle()
        Title of the menu
        Returns:
        menu title
      • setTitle

        public void setTitle​(String title)
        Set title of the menu
        Parameters:
        title - title
      • getOrder

        public int getOrder()
        Order of the menu
        Returns:
        menu order
      • setOrder

        public void setOrder​(int order)
        Set the order of the menu
        Parameters:
        order - order
      • isShowingSelected

        public boolean isShowingSelected()
        Whether to show selected state on items
        Returns:
        showing selected
      • setShowingSelected

        public void setShowingSelected​(boolean showingSelected)
        Whether to show selected state on items
        Parameters:
        showingSelected - true or false