Class TooltipText


  • public class TooltipText
    extends java.lang.Object
    Information for displaying tooltips.
    • Constructor Summary

      Constructors 
      Constructor Description
      TooltipText​(@NotNull java.lang.String text, int x, int y, int w, int h)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getH()
      Returns the height of the associated gui element.
      @NotNull java.lang.String getText()
      Returns the text.
      int getW()
      Returns the width of the associated gui element.
      int getX()
      Returns the x coordinate of the associated gui element.
      int getY()
      Returns the y coordinate of the associated gui element.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TooltipText

        public TooltipText​(@NotNull
                           @NotNull java.lang.String text,
                           int x,
                           int y,
                           int w,
                           int h)
        Creates a new instance.
        Parameters:
        text - the text
        x - the x coordinate of the associated gui element
        y - the y coordinate of the associated gui element
        w - the width of the associated gui element
        h - the height of the associated gui element
    • Method Detail

      • getText

        @NotNull
        public @NotNull java.lang.String getText()
        Returns the text.
        Returns:
        the text
      • getX

        public int getX()
        Returns the x coordinate of the associated gui element.
        Returns:
        the x coordinate
      • getY

        public int getY()
        Returns the y coordinate of the associated gui element.
        Returns:
        the y coordinate
      • getW

        public int getW()
        Returns the width of the associated gui element.
        Returns:
        the width
      • getH

        public int getH()
        Returns the height of the associated gui element.
        Returns:
        the height