Class FormatSelectorComponent
java.lang.Object
de.ellpeck.rockbottom.api.gui.component.GuiComponent
de.ellpeck.rockbottom.api.gui.component.ButtonComponent
de.ellpeck.rockbottom.api.gui.component.FormatSelectorComponent
-
Field Summary
Fields inherited from class de.ellpeck.rockbottom.api.gui.component.ButtonComponent
hasBackground, text -
Constructor Summary
ConstructorsConstructorDescriptionFormatSelectorComponent(Gui gui, int x, int y, InputFieldComponent... inputFields) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetName()intbooleanbooleanonKeyPressed(IGameInstance game, int button) booleanonMouseAction(IGameInstance game, int button, float x, float y) voidopenMenu()Methods inherited from class de.ellpeck.rockbottom.api.gui.component.ButtonComponent
getHover, getText, onPressed, render, renderOverlay, setHasBackground, setTextMethods inherited from class de.ellpeck.rockbottom.api.gui.component.GuiComponent
canCloseWithInvKey, getElementColor, getElementOutlineColor, getGuiColor, getHeight, getRenderX, getRenderY, getUnselectedElementColor, getWidth, getX, getY, isActive, isMouseOver, isMouseOverPrioritized, onCharInput, setActive, setPos, shouldDoFingerCursor, toString, update, updateInactive
-
Constructor Details
-
FormatSelectorComponent
-
-
Method Details
-
openMenu
public void openMenu() -
closeMenu
public void closeMenu() -
isMenuOpen
public boolean isMenuOpen() -
onKeyPressed
- Overrides:
onKeyPressedin classGuiComponent
-
onMouseAction
- Overrides:
onMouseActionin classButtonComponent
-
getName
- Overrides:
getNamein classButtonComponent
-
getPriority
public int getPriority()- Overrides:
getPriorityin classGuiComponent
-