Class MenuSection

java.lang.Object
com.persequor.extension.frontend.MenuSection
All Implemented Interfaces:
IMenuSection

public class MenuSection extends Object implements IMenuSection
  • Field Details

  • Constructor Details

    • MenuSection

      public MenuSection(String id, String label, Icon icon, int order)
    • MenuSection

      public MenuSection(String id, IString label, Icon icon, int order)
  • Method Details

    • getId

      public String getId()
      Description copied from interface: IMenuSection
      Return a unique ID for this menu section.
      Specified by:
      getId in interface IMenuSection
      Returns:
      the unique ID for this menu section
    • getLabel

      public IString getLabel()
      Specified by:
      getLabel in interface IMenuSection
      Returns:
      the label to be shown in the side menu
    • getIcon

      public Icon getIcon()
      Specified by:
      getIcon in interface IMenuSection
      Returns:
      the icon to be shown in the side menu
    • getOrder

      public int getOrder()
      Description copied from interface: IMenuSection
      The sorting order of this menu section, for equal values Saga will try to maintain insertion order
      Specified by:
      getOrder in interface IMenuSection
      Returns:
      the sorting order of this menu section
    • after

      public int after()
    • before

      public int before()