Package docking.menu

Class DockingToolBarUtils

java.lang.Object
docking.menu.DockingToolBarUtils

public class DockingToolBarUtils extends Object
  • Constructor Details

    • DockingToolBarUtils

      public DockingToolBarUtils()
  • Method Details

    • setToolTipText

      public static void setToolTipText(JButton button, DockingActionIf action)
      Sets the given button's tooltip text to match that of the given action
      Parameters:
      button - the button
      action - the action
    • createToolTipText

      public static String createToolTipText(JButton button, DockingActionIf action)
      Creates tooltip text for the given action and button. This is intended to be used for buttons that represent the given action.
      Parameters:
      button - the button that is the target for the text
      action - the action that is the source of the button
      Returns:
      the text