Class ToolTip


  • public class ToolTip
    extends java.lang.Object
    Implements Tooltips for Positionable objects.
    • Constructor Detail

      • ToolTip

        public ToolTip​(java.lang.String text,
                       int x,
                       int y,
                       Positionable pos)
        Parameters:
        text - tooltip text
        x - x coord of Positionable's screen location
        y - y coord of Positionable's screen location
        pos - Positionable of this Tooltip
      • ToolTip

        public ToolTip​(ToolTip tooltip,
                       Positionable pos)
        Parameters:
        tooltip - toolTip to clone
        pos - Positionable of this Tooltip
      • ToolTip

        public ToolTip​(java.lang.String text,
                       int x,
                       int y,
                       java.awt.Font font,
                       java.awt.Color fontColor,
                       java.awt.Color backgroundColor,
                       java.awt.Color borderColor,
                       Positionable pos)
        Parameters:
        text - tooltip text
        x - x coord of Positionable's screen location
        y - y coord of Positionable's screen location
        font - tooltip font
        fontColor - tooltip font color
        backgroundColor - tooltip background color
        borderColor - tooltip border color
        pos - Positionable of this Tooltip