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, getHeight, getRenderX, getRenderY, getUnselectedElementColor, getWidth, getX, getY, isActive, isMouseOver, isMouseOverPrioritized, setActive, shouldDoFingerCursor, toString, updatepublic ComponentFormatSelector(Gui gui, int x, int y, ComponentInputField inputField)
public boolean isMenuOpen()
public boolean onMouseAction(IGameInstance game, int button, float x, float y)
onMouseAction in class ComponentButtonpublic void closeMenu()
public void openMenu()
public IResourceName getName()
getName in class ComponentButtonpublic boolean onKeyboardAction(IGameInstance game, int button, char character)
onKeyboardAction in class GuiComponentpublic int getPriority()
getPriority in class GuiComponent