onEvent either a Groovy closure or a javafx.event.EventHandler<KeyEvent>, see javafx.event.EventHandler and javafx.scene.input.KeyEvent. The closure takes a KeyEvent object as its argument.
Used to pass key typed events to a javafx node.
Powered by a free Atlassian Confluence Open Source Project License granted to Codehaus. Evaluate Confluence today.