PanelTextEditOptions

A value shape that methods take or return.

Methods
None
Fields
13

Fields

FieldTypeDescription
colorPanelColor?The text colour (setForeground).
bgColor?The field's background (setBackground).
idstring?The field's identity between frames, where its place in the panel moves.
widthnumber?setPreferredSize's width. Without it the field is egui's 280 wide.
heightnumber?setPreferredSize's height: a single line is centred in it.
hintstring?Grey text shown while the field is empty (a placeholder).
readOnlyboolean?setEditable(false): selectable and copyable, not editable.
focusboolean?requestFocusInWindow(): asks again every pass it is set.
passwordboolean?A JPasswordField.
charLimitnumber?The most characters it takes (a length DocumentFilter).
frameboolean?false: no border or box (a FlatTextField).
tooltipPanelTooltipText?setToolTipText: text, or styled runs (an <html> tooltip's spans).
enabledboolean?setEnabled.