Text::whenAddedToStage()
This method is called when the object is added to the stage. Override this method to define custom behavior when the object is added to the stage.
Syntax
Java
.whenAddedToStage()
.whenAddedToStage(stage)
Parameters
| Name | Data Type | Description |
|---|---|---|
| stage | Stage | The stage to which the text is added. |
Return
void
