labelText property
final
Text that describes the input field.
When the input field is empty and unfocused, the label is displayed on top of the input field (i.e., at the same location on the screen where text may be entered in the input field). When the input field receives focus (or if the field is non-empty), the label moves above (i.e., vertically adjacent to) the input field.
Implementation
final String labelText