alex
11/10/2018, 2:20 PMsetOnAction { controller.action(<args>) }
,
or is it better to provide FXEvent and subscribe controller to the event bus:
setOnAction { fireEvent(ActionPerformedEvent) }
(which actually reminds of Qt signal/slot system, but with no direct coupling)?
What are the advantages of each method and what are the use cases?