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