Stage::setWhenIReceive()
Sets the handler for when a message is received.
Syntax
Java
.setWhenIReceive(whenIReceive)
Parameters
| Name | Data Type | Description |
|---|---|---|
| whenIReceive | WhenIReceiveHandler | a handler that takes a Stage and a String (the message) as arguments |
Return
void
