Label type (joe.win)


Extends: Control

The Label type is the base class for JavaFX labels like Label widgets.

Initializer

Methods

Control Methods

Region Methods

Node Methods

Properties

Label widgets have the following properties, in addition to those inherited from superclasses.

PropertyTypeDescription
#textStringThe label's text

Label Initializer


Label([text]) → Label

Returns a Label.

Methods


label.text()


label.text(text) → this

Sets the label's text.