GuiElementTextField

Constructors

Link copied to clipboard
constructor(initialText: String, options: Int)
constructor(initialText: String, sizeX: Int, sizeY: Int, options: Int)

Properties

Link copied to clipboard
val COLOUR: Int = 2
Link copied to clipboard
val DISABLE_BG: Int = 64
Link copied to clipboard
open var focus: Boolean
Link copied to clipboard
val FORCE_CAPS: Int = 4
Link copied to clipboard
val MULTILINE: Int = 1
Link copied to clipboard
val NO_SPACE: Int = 8
Link copied to clipboard
val NUM_ONLY: Int = 16
Link copied to clipboard
val SCALE_TEXT: Int = 32
Link copied to clipboard
val SCISSOR_TEXT: Int = 128

Functions

Link copied to clipboard
open fun getCursorPos(mouseX: Int, mouseY: Int): Int
Link copied to clipboard
open fun getHeight(): Int
Link copied to clipboard
open fun getText(): String
Link copied to clipboard
Link copied to clipboard
open fun getWidth(): Int
Link copied to clipboard
open fun keyTyped(typedChar: Char, keyCode: Int)
Link copied to clipboard
open fun mouseClicked(mouseX: Int, mouseY: Int, mouseButton: Int)
Link copied to clipboard
open fun mouseClickMove(mouseX: Int, mouseY: Int)
Link copied to clipboard
open fun mouseMoved(mouseX: Int, mouseY: Int)
Link copied to clipboard
open fun mouseUnclicked(mouseX: Int, mouseY: Int, mouseButton: Int)
Link copied to clipboard
open fun render(x: Int, y: Int)
Link copied to clipboard
open fun setCustomBorderColour(colour: Int)
Link copied to clipboard
open fun setCustomTextColour(colour: Int)
Link copied to clipboard
open fun setMaxStringLength(len: Int)
Link copied to clipboard
open fun setOptions(options: Int)
Link copied to clipboard
open fun setPrependText(text: String)
Link copied to clipboard
open fun setSize(searchBarXSize: Int, searchBarYSize: Int)
Link copied to clipboard
open fun setText(text: String)
Link copied to clipboard
open fun strLenNoColor(str: String): Int
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun unfocus()