public class ComponentFormatSelector extends ComponentButton
hasBackground, text| Constructor and Description |
|---|
ComponentFormatSelector(Gui gui,
int x,
int y,
ComponentInputField inputField) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeMenu() |
IResourceName |
getName() |
int |
getPriority() |
boolean |
isMenuOpen() |
boolean |
onKeyboardAction(IGameInstance game,
int button,
char character) |
boolean |
onMouseAction(IGameInstance game,
int button,
float x,
float y) |
void |
openMenu() |
getHover, getText, onPressed, render, renderOverlay, setHasBackground, setTextgetElementColor, getElementOutlineColor, getGuiColor, getRenderX, getRenderY, getUnselectedElementColor, getX, getY, isActive, isMouseOver, isMouseOverPrioritized, setActive, toString, updatepublic ComponentFormatSelector(Gui gui, int x, int y, ComponentInputField inputField)
public void openMenu()
public void closeMenu()
public boolean isMenuOpen()
public boolean onKeyboardAction(IGameInstance game, int button, char character)
onKeyboardAction in class GuiComponentpublic boolean onMouseAction(IGameInstance game, int button, float x, float y)
onMouseAction in class ComponentButtonpublic IResourceName getName()
getName in class ComponentButtonpublic int getPriority()
getPriority in class GuiComponent