Class WConfirmedButton
java.lang.Object
meteordevelopment.meteorclient.gui.widgets.WWidget
meteordevelopment.meteorclient.gui.widgets.pressable.WPressable
meteordevelopment.meteorclient.gui.widgets.pressable.WButton
meteordevelopment.meteorclient.gui.widgets.pressable.WConfirmedButton
- All Implemented Interfaces:
BaseWidget
- Direct Known Subclasses:
WMeteorConfirmedButton
-
Field Summary
FieldsFields inherited from class meteordevelopment.meteorclient.gui.widgets.pressable.WButton
text, texture, textWidthFields inherited from class meteordevelopment.meteorclient.gui.widgets.pressable.WPressable
action, pressed -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetText()booleanonMouseClicked(net.minecraft.client.gui.Click click, boolean doubled) booleanonMouseReleased(net.minecraft.client.gui.Click click) voidMethods inherited from class meteordevelopment.meteorclient.gui.widgets.pressable.WButton
onCalculateSize, setMethods inherited from class meteordevelopment.meteorclient.gui.widgets.pressable.WPressable
onPressedMethods inherited from class meteordevelopment.meteorclient.gui.widgets.WWidget
calculateSize, calculateWidgetPositions, charTyped, getRoot, getTheme, getView, init, invalidate, isFocused, isOver, keyPressed, keyRepeated, mouseClicked, mouseMoved, mouseReleased, mouseScrolled, move, onCalculateWidgetPositions, onCharTyped, onKeyPressed, onKeyRepeated, onMouseMoved, onMouseScrolled, onRender, pad, render, setFocused
-
Field Details
-
pressedOnce
protected boolean pressedOnce -
confirmText
-
-
Constructor Details
-
WConfirmedButton
-
-
Method Details
-
onMouseClicked
public boolean onMouseClicked(net.minecraft.client.gui.Click click, boolean doubled) - Overrides:
onMouseClickedin classWPressable
-
onMouseReleased
public boolean onMouseReleased(net.minecraft.client.gui.Click click) - Overrides:
onMouseReleasedin classWPressable
-
getText
-
set
-