Class TextEditor<T>
java.lang.Object
net.ixdarklord.coolcatcore.internal.config.client.gui.editor.TextEditor<T>
- All Implemented Interfaces:
ValueEditor
- Direct Known Subclasses:
ColorEditor
-
Nested Class Summary
Nested classes/interfaces inherited from interface ValueEditor
ValueEditor.Factory<T> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StyledEditBoxcreateBox(int width, int height) voidrefresh()Shows the slot's value again after it changed elsewhere (undo, reset, a preset, the server).voidsetActive(boolean active) Whether the player can change the value right now.widget()
-
Field Details
-
slot
-
box
-
-
Constructor Details
-
TextEditor
-
-
Method Details
-
createBox
-
widget
- Specified by:
widgetin interfaceValueEditor
-
refresh
public void refresh()Description copied from interface:ValueEditorShows the slot's value again after it changed elsewhere (undo, reset, a preset, the server).- Specified by:
refreshin interfaceValueEditor
-
setActive
public void setActive(boolean active) Description copied from interface:ValueEditorWhether the player can change the value right now.- Specified by:
setActivein interfaceValueEditor
-