Package net.runelite.api.events
Class MenuOpened
- java.lang.Object
-
- net.runelite.api.events.MenuOpened
-
public class MenuOpened extends Object
An event where a menu has been opened.
-
-
Constructor Summary
Constructors Constructor Description MenuOpened()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)MenuEntrygetFirstEntry()Gets the entry that will be displayed first in the menu.MenuEntry[]getMenuEntries()The menu entries in the newly opened menu.inthashCode()voidsetMenuEntries(MenuEntry[] menuEntries)The menu entries in the newly opened menu.StringtoString()
-
-
-
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)
-
-