Class ClickableTextComponent
java.lang.Object
de.ellpeck.rockbottom.api.gui.component.GuiComponent
de.ellpeck.rockbottom.api.gui.component.ClickableTextComponent
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionClickableTextComponent(Gui gui, int x, int y, float scale, boolean fromRight, Supplier<Boolean> clickSupplier, String... text) -
Method Summary
Modifier and TypeMethodDescriptiongetName()String[]getText()booleanonMouseAction(IGameInstance game, int button, float x, float y) voidrender(IGameInstance game, IAssetManager manager, IRenderer g, int x, int y) Methods inherited from class de.ellpeck.rockbottom.api.gui.component.GuiComponent
canCloseWithInvKey, getElementColor, getElementOutlineColor, getGuiColor, getHeight, getPriority, getRenderX, getRenderY, getUnselectedElementColor, getWidth, getX, getY, isActive, isMouseOver, isMouseOverPrioritized, onCharInput, onKeyPressed, renderOverlay, setActive, setPos, shouldDoFingerCursor, toString, update, updateInactive
-
Constructor Details
-
ClickableTextComponent
-
-
Method Details
-
render
- Overrides:
renderin classGuiComponent
-
getText
-
onMouseAction
- Overrides:
onMouseActionin classGuiComponent
-
getName
- Specified by:
getNamein classGuiComponent
-