edvin
12/16/2016, 9:19 AMron
12/16/2016, 9:37 AMron
12/16/2016, 9:38 AMron
12/16/2016, 9:38 AMString identifier = JfxdslKt.inputDialog("Browser identification", "name this browser", "browser id”);
ron
12/16/2016, 9:39 AMedvin
12/16/2016, 9:49 AMron
12/16/2016, 9:52 AMcomponent
outside of the uiedvin
12/16/2016, 9:52 AMFX.eventbus.subscribe()
edvin
12/16/2016, 9:53 AMFXKt
from Java thoughron
12/16/2016, 9:53 AMron
12/16/2016, 9:54 AMedvin
12/16/2016, 9:54 AMron
12/16/2016, 9:54 AMron
12/16/2016, 9:54 AMron
12/16/2016, 9:55 AMedvin
12/16/2016, 9:55 AMedvin
12/16/2016, 9:56 AMPlatform.runLater
before updating the UI.ron
12/16/2016, 9:56 AMron
12/16/2016, 9:57 AMkeepassFX.service.BridgeService
)edvin
12/16/2016, 9:57 AMron
12/16/2016, 9:57 AMron
12/16/2016, 9:58 AMron
12/16/2016, 9:59 AMedvin
12/16/2016, 10:00 AMron
12/16/2016, 10:00 AMedvin
12/16/2016, 10:08 AMGiveMeData
event to say that it want's data. The Controller subscribes to this events and fires a MyDataEvent
when it retrieves it. There is no need to think about threading, the data will be retrieved on a background thread automatically.edvin
12/16/2016, 10:10 AMGiveMeData
event has runOnFxApplicationThread = false
, a background thread will be spun of to deliver the event to the controller. When the controller then fires the MyDataEvent
it will be delivered on the UI thread since the default for FXEvent is runOnFxApplicationThread = true
. Could really use a sweeter word for that.ron
12/16/2016, 10:12 AM