Class MenuOpened


  • public class MenuOpened
    extends Object
    An event where a menu has been opened.
    • Constructor Detail

      • MenuOpened

        public MenuOpened()
    • Method Detail

      • getFirstEntry

        public MenuEntry getFirstEntry()
        Gets the entry that will be displayed first in the menu.
        Returns:
        the first entry
      • getMenuEntries

        public MenuEntry[] getMenuEntries()
        The menu entries in the newly opened menu.

        The entries in this menu are reversed, the last entry in the array will appear first (at the top) in the opened menu.

      • setMenuEntries

        public void setMenuEntries​(MenuEntry[] menuEntries)
        The menu entries in the newly opened menu.

        The entries in this menu are reversed, the last entry in the array will appear first (at the top) in the opened menu.

      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object