Class NavigationButton

  • public final class NavigationButton
    extends Object
    UI navigation button.
    • Method Detail

      • 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)
      • getPopup

        public Map<String,​Runnable> getPopup()
        Map of key-value pairs for setting the popup menu
      • hashCode

        public int hashCode()
        hashCode in class Object