Window::setWhenExits()
Sets a custom handler to be executed when the window exits.
Syntax
Java
.setWhenExits(runnable)
Parameters
| Name | Data Type | Description |
|---|---|---|
| runnable | WhenExitsHandler | the custom handler to be executed on exit |
Return
void

Sets a custom handler to be executed when the window exits.
.setWhenExits(runnable)
| Name | Data Type | Description |
|---|---|---|
| runnable | WhenExitsHandler | the custom handler to be executed on exit |
void