public class ComponentClickableText extends GuiComponent
| Constructor and Description |
|---|
ComponentClickableText(Gui gui,
int x,
int y,
float scale,
boolean fromRight,
java.util.function.Supplier<java.lang.Boolean> clickSupplier,
java.lang.String... text) |
| Modifier and Type | Method and Description |
|---|---|
IResourceName |
getName() |
boolean |
onMouseAction(IGameInstance game,
int button,
float x,
float y) |
void |
render(IGameInstance game,
IAssetManager manager,
IGraphics g,
int x,
int y) |
getElementColor, getElementOutlineColor, getGuiColor, getHeight, getPriority, getRenderX, getRenderY, getUnselectedElementColor, getWidth, getX, getY, isActive, isMouseOver, isMouseOverPrioritized, onKeyboardAction, renderOverlay, setActive, shouldDoFingerCursor, toString, updatepublic ComponentClickableText(Gui gui, int x, int y, float scale, boolean fromRight, java.util.function.Supplier<java.lang.Boolean> clickSupplier, java.lang.String... text)
public void render(IGameInstance game, IAssetManager manager, IGraphics g, int x, int y)
render in class GuiComponentpublic boolean onMouseAction(IGameInstance game, int button, float x, float y)
onMouseAction in class GuiComponentpublic IResourceName getName()
getName in class GuiComponent