Class TooltipText
java.lang.Object
com.realtime.crossfire.jxclient.gui.gui.TooltipText
Information for displaying tooltips.
-
Constructor Summary
ConstructorsConstructorDescriptionTooltipText(@NotNull String text, int x, int y, int w, int h) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionintgetH()Returns the height of the associated gui element.@NotNull StringgetText()Returns the text.intgetW()Returns the width of the associated gui element.intgetX()Returns the x coordinate of the associated gui element.intgetY()Returns the y coordinate of the associated gui element.
-
Constructor Details
-
TooltipText
Creates a new instance.- Parameters:
text- the textx- the x coordinate of the associated gui elementy- the y coordinate of the associated gui elementw- the width of the associated gui elementh- the height of the associated gui element
-
-
Method Details
-
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
-