java.lang.Object com.realtime.crossfire.jxclient.gui.gui.TooltipText
public class TooltipText
Information for displaying tooltips.
Field Summary | |
---|---|
private int |
h
The height of the associated gui element. |
private java.lang.String |
text
The text. |
private int |
w
The width of the associated gui element. |
private int |
x
The x coordinate of the associated gui element. |
private int |
y
The y coordinate of the associated gui element. |
Constructor Summary | |
---|---|
TooltipText(java.lang.String text,
int x,
int y,
int w,
int h)
Creates a new instance. |
Method Summary | |
---|---|
int |
getH()
Returns the height of the associated gui element. |
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 |
Field Detail |
---|
private final int h
@NotNull private final java.lang.String text
private final int w
private final int x
private final int y
Constructor Detail |
---|
public TooltipText(@NotNull java.lang.String text, int x, int y, int w, int h)
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 elementMethod Detail |
---|
public int getH()
@NotNull public java.lang.String getText()
public int getW()
public int getX()
public int getY()