public class FormatSelectorComponent extends ButtonComponent
hasBackground, text| Constructor and Description |
|---|
FormatSelectorComponent(Gui gui,
int x,
int y,
InputFieldComponent... inputFields) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeMenu() |
ResourceName |
getName() |
int |
getPriority() |
boolean |
isMenuOpen() |
boolean |
onKeyPressed(IGameInstance game,
int button) |
boolean |
onMouseAction(IGameInstance game,
int button,
float x,
float y) |
void |
openMenu() |
getHover, getText, onPressed, render, renderOverlay, setHasBackground, setTextcanCloseWithInvKey, getElementColor, getElementOutlineColor, getGuiColor, getHeight, getRenderX, getRenderY, getUnselectedElementColor, getWidth, getX, getY, isActive, isMouseOver, isMouseOverPrioritized, onCharInput, setActive, setPos, shouldDoFingerCursor, toString, update, updateInactivepublic FormatSelectorComponent(Gui gui, int x, int y, InputFieldComponent... inputFields)
public void openMenu()
public void closeMenu()
public boolean isMenuOpen()
public boolean onKeyPressed(IGameInstance game, int button)
onKeyPressed in class GuiComponentpublic boolean onMouseAction(IGameInstance game, int button, float x, float y)
onMouseAction in class ButtonComponentpublic ResourceName getName()
getName in class ButtonComponentpublic int getPriority()
getPriority in class GuiComponent