edvin
10/22/2016, 6:20 PMSource code view▾
edvin
10/22/2016, 6:21 PMron
10/22/2016, 6:51 PMron
10/22/2016, 6:52 PMedvin
10/22/2016, 7:04 PMjchildress
10/22/2016, 7:58 PMedvin
10/22/2016, 7:59 PMjchildress
10/22/2016, 8:00 PMcarlw
10/22/2016, 9:11 PMcarlw
10/22/2016, 9:11 PMcarlw
10/22/2016, 9:12 PMedvin
10/22/2016, 9:25 PMtableView.asyncItems { controller.longRunningFunctionThatReturnsItems() }
. If you want more control, you do runAsync { controller.longRunningFunctionThatReturnsListOfSomething() } ui { it is List<Something> }
.edvin
10/22/2016, 9:25 PMui
call is run on the JavaFX UI thread.edvin
10/22/2016, 9:26 PMNode.runAsyncWithProgress()
call that will display a customizable progress node in place of the original node as the async call is running.carlw
10/22/2016, 9:41 PMcarlw
10/22/2016, 9:43 PMedvin
10/22/2016, 10:07 PMedvin
10/22/2016, 10:08 PMcarlw
10/22/2016, 10:09 PMcarlw
10/22/2016, 10:15 PMcarlw
10/22/2016, 10:16 PMedvin
10/22/2016, 10:19 PMedvin
10/22/2016, 10:20 PMcarlw
10/22/2016, 10:27 PMedvin
10/22/2016, 10:38 PMedvin
10/22/2016, 10:39 PMedvin
10/22/2016, 10:42 PMedvin
10/22/2016, 10:43 PMcarlw
10/22/2016, 10:56 PM