Class NavigationButton


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

      • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object