public class MessageBoxComponent extends GuiComponent
| Constructor and Description |
|---|
MessageBoxComponent(Gui gui,
int x,
int y,
int width,
int height,
java.lang.String message,
float scale,
boolean hasBackground,
boolean appearsSlowly,
java.util.function.Supplier<java.lang.Boolean> supplier) |
| Modifier and Type | Method and Description |
|---|---|
ResourceName |
getName() |
boolean |
onMouseAction(IGameInstance game,
int button,
float x,
float y) |
void |
render(IGameInstance game,
IAssetManager manager,
IRenderer g,
int x,
int y) |
void |
update(IGameInstance game) |
canCloseWithInvKey, getElementColor, getElementOutlineColor, getGuiColor, getHeight, getPriority, getRenderX, getRenderY, getUnselectedElementColor, getWidth, getX, getY, isActive, isMouseOver, isMouseOverPrioritized, onCharInput, onKeyPressed, renderOverlay, setActive, setPos, shouldDoFingerCursor, toString, updateInactivepublic MessageBoxComponent(Gui gui, int x, int y, int width, int height, java.lang.String message, float scale, boolean hasBackground, boolean appearsSlowly, java.util.function.Supplier<java.lang.Boolean> supplier)
public void render(IGameInstance game, IAssetManager manager, IRenderer g, int x, int y)
render in class GuiComponentpublic boolean onMouseAction(IGameInstance game, int button, float x, float y)
onMouseAction in class GuiComponentpublic void update(IGameInstance game)
update in class GuiComponentpublic ResourceName getName()
getName in class GuiComponent