Package net.runelite.api.events
Class MenuOpened
- java.lang.Object
-
- net.runelite.api.events.MenuOpened
-
public class MenuOpened extends java.lang.ObjectAn 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(java.lang.Object other)booleanequals(java.lang.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.java.lang.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.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-