TextFieldComponent
open class TextFieldComponent(val text: GetSetter<String>, preferredWidth: Int, val editable: Supplier<Boolean> = GetSetter.constant(true), val suggestion: String = "", val font: IFontRenderer = IMinecraft.INSTANCE.defaultFontRenderer, val forbiddenChars: Set<Char> = setOf('§')) : GuiComponent(source)
Inheritors
Functions
Link copied to clipboard
Link copied to clipboard
Called by the parent renderer.
Link copied to clipboard
Called by the parent renderer.
Link copied to clipboard
Link copied to clipboard
This method is called by the gui context when an element gains focus. This does only get called if this element specifically is being focused.
Link copied to clipboard
This method is called by the gui context when an element loses focus. This does only get called if this element specifically was focused.
Link copied to clipboard
Called by the parent renderer. The GL matrix stack is pre-transformed, so rendering can begin at (0, 0) and should not render beyond what the context says is available.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard