Package net.lenni0451.imnbt.ui.popups
Class IntegerInputPopup
java.lang.Object
net.lenni0451.imnbt.ui.types.Popup<IntegerInputPopup>
net.lenni0451.imnbt.ui.popups.IntegerInputPopup
A popup that allows the user to input an integer.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.lenni0451.imnbt.ui.types.Popup
Popup.PopupCallback<P> -
Constructor Summary
ConstructorsConstructorDescriptionIntegerInputPopup(String title, String message, int minValue, int maxValue, IntConsumer intCallback, Popup.PopupCallback<IntegerInputPopup> callback) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidrenderContent(ImNbtDrawer drawer) Render the popup content.
-
Constructor Details
-
IntegerInputPopup
public IntegerInputPopup(String title, String message, int minValue, int maxValue, IntConsumer intCallback, Popup.PopupCallback<IntegerInputPopup> callback)
-
-
Method Details
-
renderContent
Description copied from class:PopupRender the popup content.- Specified by:
renderContentin classPopup<IntegerInputPopup>- Parameters:
drawer- The drawer instance
-