Class Tooltip

  • All Implemented Interfaces:
    java.lang.Iterable<Component>, Sequence<Component>, ConstrainedVisual, Visual

    public class Tooltip
    extends Window
    Window representing a "tooltip". Tooltips are used to provide additional context information to a user. A tooltip generally appears after a certain amount of time has passed and closes when the user moves the mouse.
    • Constructor Detail

      • Tooltip

        public Tooltip()
        Default constructor without a content component (yet).
      • Tooltip

        public Tooltip​(Component content)
        Construct a tooltip with the given content.
        Parameters:
        content - The content to be shown in this tooltip window.