public class TooltipText
extends java.lang.Object
Constructor and Description |
---|
TooltipText(@NotNull java.lang.String text,
int x,
int y,
int w,
int h)
Creates a new instance.
|
Modifier and Type | Method and 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.
|
public TooltipText(@NotNull @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 element@NotNull public @NotNull java.lang.String getText()
public int getX()
public int getY()
public int getW()
public int getH()