statusProperty

Set this to ApplicationStatus.FORCE_QUIT or ApplicationStatus.REQUEST_QUIT, and all stages will be closed, which will then cause the application to end.

When using ApplicationStatus.REQUEST_QUIT, each stage will have a chance to prevent closure as normal, by consuming the event sent to Stage.onCloseRequested.