Class MenuItem


  • public class MenuItem
    extends Object
    Represents an item that is displayed in a UI menu.
    Author:
    avasquez
    • Constructor Detail

      • MenuItem

        public MenuItem()
    • Method Detail

      • getId

        public String getId()
        Returns the ID of the item.
      • setId

        public void setId​(String id)
        Sets the ID of the item.
      • getLabel

        public String getLabel()
        Returns the label of the item.
      • setLabel

        public void setLabel​(String label)
        Sets the label of the item.
      • getIcon

        public String getIcon()
        Returns the icon of the item as a Font Awesome id, example: fa-smile.
      • setIcon

        public void setIcon​(String icon)
        Sets the icon of the item as a Font Awesome id, example: fa-smile.