title: How to emit and handle custom events?
body: <p>There are several predefined event classes in javafx. Event.ANY, KeyEvent.KEY_TYPED, MouseEvent.ANY and so on. There is also advanced filtering and handling system for events. And I'd like to reuse it to send some custom signals.</p>
  
  <p>How can I create my custom event type CustomEvent.Any, emit this event programmatically and handle it in a node? </p>