Package net.runelite.client.ui
Class NavigationButton
- java.lang.Object
-
- net.runelite.client.ui.NavigationButton
-
public final class NavigationButton extends java.lang.ObjectUI navigation button.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNavigationButton.NavigationButtonBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NavigationButton.NavigationButtonBuilderbuilder()booleanequals(java.lang.Object o)java.awt.image.BufferedImagegetIcon()Icon of button.java.lang.RunnablegetOnClick()On click action of the button.PluginPanelgetPanel()Plugin panel, used when expanding and contracting sidebar.java.util.Map<java.lang.String,java.lang.Runnable>getPopup()Map of key-value pairs for setting the popup menuintgetPriority()The order in which the button should be displayed in the side bar.java.lang.StringgetTooltip()Tooltip to show when hovered.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
builder
public static NavigationButton.NavigationButtonBuilder builder()
-
getIcon
public java.awt.image.BufferedImage getIcon()
Icon of button.
-
getTooltip
public java.lang.String getTooltip()
Tooltip to show when hovered.
-
getOnClick
public java.lang.Runnable getOnClick()
On click action of the button.
-
getPanel
public PluginPanel getPanel()
Plugin panel, used when expanding and contracting sidebar.
-
getPriority
public int getPriority()
The order in which the button should be displayed in the side bar. (from lower to higher)
-
getPopup
public java.util.Map<java.lang.String,java.lang.Runnable> getPopup()
Map of key-value pairs for setting the popup menu
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-