public class ComponentConfirmationPopup extends GuiComponent
| Constructor | Description |
|---|---|
ComponentConfirmationPopup(Gui gui,
int x,
int y,
java.util.function.Consumer<java.lang.Boolean> consumer) |
| Modifier and Type | Method | Description |
|---|---|---|
IResourceName |
getName() |
|
int |
getPriority() |
|
boolean |
onMouseAction(IGameInstance game,
int button,
float x,
float y) |
|
void |
render(IGameInstance game,
IAssetManager manager,
IRenderer g,
int x,
int y) |
|
boolean |
shouldDoFingerCursor(IGameInstance game) |
canCloseWithInvKey, getElementColor, getElementOutlineColor, getGuiColor, getHeight, getRenderX, getRenderY, getUnselectedElementColor, getWidth, getX, getY, isActive, isMouseOver, isMouseOverPrioritized, onCharInput, onKeyPressed, renderOverlay, setActive, setPos, toString, update, updateInactivepublic ComponentConfirmationPopup(Gui gui, int x, int y, java.util.function.Consumer<java.lang.Boolean> consumer)
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 IResourceName getName()
getName in class GuiComponentpublic boolean shouldDoFingerCursor(IGameInstance game)
shouldDoFingerCursor in class GuiComponentpublic int getPriority()
getPriority in class GuiComponent