IconTextField

Methods
12
Fields
1

Getting one

IconTextField.new()

Methods

MethodReturnsDescription
addActionListener(any)()The text field's.
addClearListener(any)()Runs r (a function, or a table with run) when the clear button empties it.
addKeyListener(any)()The text field's.
removeKeyListener(any)()The text field's.
getText()stringThe text field's text.
setText(string?)()The text field's text.
requestFocusInWindow()booleanFocuses the text field.
setBackground(Color?)()The background.
setEditable(boolean)()Whether the text can be edited.
setHoverBackgroundColor(Color?)()The background under the pointer.
setIcon(any)()An IconTextField.Icon (or an ImageIcon) on the left.
new()IconTextFieldIconTextField.new().

Fields

FieldTypeDescription
IconIconTextFieldIconClassIconTextField.Icon: the nested class's table.

Returned by

MethodReturnsDescription
IconTextFieldClass.newIconTextFieldIconTextField.new().

Method details