Package net.runelite.client.ui
Class NavigationButton
- java.lang.Object
-
- net.runelite.client.ui.NavigationButton
-
public final class NavigationButton extends Object
UI navigation button.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NavigationButton.NavigationButtonBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NavigationButton.NavigationButtonBuilder
builder()
boolean
equals(Object o)
BufferedImage
getIcon()
Icon of button.Runnable
getOnClick()
On click action of the button.PluginPanel
getPanel()
Plugin panel, used when expanding and contracting sidebar.Map<String,Runnable>
getPopup()
Map of key-value pairs for setting the popup menuint
getPriority()
The order in which the button should be displayed in the side bar.String
getTooltip()
Tooltip to show when hovered.int
hashCode()
String
toString()
-
-
-
Method Detail
-
builder
public static NavigationButton.NavigationButtonBuilder builder()
-
getIcon
public BufferedImage getIcon()
Icon of button.
-
getTooltip
public String getTooltip()
Tooltip to show when hovered.
-
getOnClick
public 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)
-
-