public void getView ( final Consumer < Parent > consumer ) { CompletableFuture . supplyAsync ( this :: getView , Platform :: runLater ) . thenAccept ( consumer ) ; }
Initializes the view synchronously and invokes the consumer with the created parent Node within the FX UI thread .