Module org.jhotdraw8.fxcontrols
Interface FontCollectionsFactory
- All Known Implementing Classes:
DefaultFontCollectionsFactory,MacOSFontCollectionsFactory
public interface FontCollectionsFactory
-
Method Summary
Modifier and TypeMethodDescriptioncreate()default @NonNull CompletableFuture<List<FontCollection>> Creates a FontChooserModel asynchronously in a worker thread, and completes the returnedCompletableFutureon the JavaFX Application Thread.
-
Method Details
-
create
@NonNull List<FontCollection> create() -
createAsync
Creates a FontChooserModel asynchronously in a worker thread, and completes the returnedCompletableFutureon the JavaFX Application Thread.- Returns:
- a
CompletableFuture.
-