Class ValueToolTip

java.lang.Object
org.jjazz.uiutilities.api.ValueToolTip

public class ValueToolTip extends Object
A service to show a custom tooltip with direct control.
  • Field Details

  • Constructor Details

    • ValueToolTip

      public ValueToolTip()
  • Method Details

    • show

      public static void show(JComponent comp, String text)
      Immediatly show a tooltip, and hide it after the default delay.

      If method is called again before delay is expired and the text has changed, text is updated and delay is restarted.

      Parameters:
      comp -
      text -
    • show

      public static void show(JComponent comp, String text, int hideDelay)
      Immediatly show a tooltip, and hide it after the specified delay.

      If method is called again before delay is expired and the text has changed, text is updated and delay is restarted.

      Parameters:
      comp -
      text -
      hideDelay - In milliseconds
    • hide

      public static void hide()
    • isVisible

      public static boolean isVisible()