public class ComponentFormatSelector extends ComponentButton
hasBackground, text| Constructor and Description |
|---|
ComponentFormatSelector(Gui gui,
int x,
int y,
ComponentInputField... 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 ComponentFormatSelector(Gui gui, int x, int y, ComponentInputField... 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 ComponentButtonpublic ResourceName getName()
getName in class ComponentButtonpublic int getPriority()
getPriority in class GuiComponent