FlatTextField

Methods
9
Fields
None

Getting one

FlatTextField.new()

Methods

MethodReturnsDescription
addActionListener(any)()The text field's.
addKeyListener(any)()The text field's.
getText()stringThe text field's text.
getTextField()JTextFieldThe JTextField inside.
setBackground(Color?, saveColor: boolean?)()The background (kept for the hover effect unless saveColor is false).
setEditable(boolean)()Whether the text can be edited.
setHoverBackgroundColor(Color?)()The background under the pointer.
setText(string?)()The text field's text.
new()FlatTextFieldFlatTextField.new().

Returned by

MethodReturnsDescription
FlatTextFieldClass.newFlatTextFieldFlatTextField.new().

Method details