public class ComponentMessageBox extends GuiComponent
| Constructor | Description |
|---|---|
ComponentMessageBox(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 | Description |
|---|---|---|
IResourceName |
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, toStringpublic ComponentMessageBox(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 IResourceName getName()
getName in class GuiComponent