Text::whenRemovedFromStage()
This method is called when the object is removed from the stage. Override this method to define custom behavior that should occur when the object is no longer part of the stage.
Syntax
Java
.whenRemovedFromStage()
.whenRemovedFromStage(stage)
Parameters
| Name | Data Type | Description |
|---|---|---|
| stage | Stage | The stage from which the text is removed. |
Return
void
