Text

The Text widget displays editable text. Text fields can be single-line (style SINGLE) or multi-line (style MULTI).

Text fields with masked echo characters for entering passwords can be created by specifying the PASSWORD style. Those password fields are always single-line.

Text fields can be created in read-only mode using the READ_ONLY style. The read-only mode can also be toggled at runtime using setEditable().

Spinner

The Spinner widget looks similar to a single-line Text field, but it only allows to enter numbers within a certain range. The min and max values can be configured. Every time the value of the Spinner changes, a selection event is fired.

Combo

The Combo box is available in two different flavors. In the read-only mode, it only allows to select preconfigured values from the drop-down list. In editable mode, it also allows to edit the selection in the text field.