NavigationButton

Methods
7
Fields
None

Getting one

NavigationButton.builder():build()

Methods

MethodReturnsDescription
getIcon()(BufferedImage | string)?The image or PNG bytes the rail draws.
getTooltip()stringThe hover text.
getOnClick()(() -> ())?What a panel-less button runs.
getPanel()PluginPanel?The panel it opens.
getPriority()numberRail order, lower first.
getPopup()anyThe right-click menu's entries, as given to the builder.
builder()NavigationButtonBuilderA new builder.

Returned by

MethodReturnsDescription
NavigationButtonBuilder.buildNavigationButtonThe button.

Method details