Package net.lenni0451.imnbt.ui.popups
Class EditTagPopup
A popup that allows the user to edit a tag.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.lenni0451.imnbt.ui.types.Popup
Popup.PopupCallback<P> -
Constructor Summary
ConstructorsConstructorDescriptionEditTagPopup(String title, String okText, String name, net.lenni0451.mcstructs.nbt.NbtTag tag, Popup.PopupCallback<EditTagPopup> callback) -
Method Summary
Modifier and TypeMethodDescriptiongetName()net.lenni0451.mcstructs.nbt.NbtTaggetTag()protected voidrenderContent(ImNbtDrawer drawer) Render the popup content.
-
Constructor Details
-
EditTagPopup
public EditTagPopup(String title, String okText, String name, net.lenni0451.mcstructs.nbt.NbtTag tag, Popup.PopupCallback<EditTagPopup> callback)
-
-
Method Details
-
getName
-
getTag
public net.lenni0451.mcstructs.nbt.NbtTag getTag() -
renderContent
Description copied from class:PopupRender the popup content.- Specified by:
renderContentin classPopup<EditTagPopup>- Parameters:
drawer- The drawer instance
-