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 classNavigationButton.NavigationButtonBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NavigationButton.NavigationButtonBuilderbuilder()booleanequals(Object o)BufferedImagegetIcon()Icon of button.RunnablegetOnClick()On click action of the button.PluginPanelgetPanel()Plugin panel, used when expanding and contracting sidebar.Map<String,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.StringgetTooltip()Tooltip to show when hovered.inthashCode()StringtoString()
-
-
-
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)
-
-