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 boolean
canEqual(Object other)
boolean
equals(Object o)
MenuEntry
getFirstEntry()
Gets the entry that will be displayed first in the menu.MenuEntry[]
getMenuEntries()
The menu entries in the newly opened menu.int
hashCode()
void
setMenuEntries(MenuEntry[] menuEntries)
The menu entries in the newly opened menu.String
toString()
-
-
-
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)
-
-