Module org.jhotdraw8.fxcontrols
Class MacOSFontCollectionsFactory
java.lang.Object
org.jhotdraw8.fxcontrols.fontchooser.DefaultFontCollectionsFactory
org.jhotdraw8.fxcontrols.fontchooser.MacOSFontCollectionsFactory
- All Implemented Interfaces:
FontCollectionsFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @NonNull javafx.collections.ObservableList<FontCollection> generateCollections(@NonNull List<FontFamily> families) Groups a list of font families into collections.Methods inherited from class org.jhotdraw8.fxcontrols.fontchooser.DefaultFontCollectionsFactory
collectFamiliesNamed, create, loadFontsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jhotdraw8.fxcontrols.fontchooser.FontCollectionsFactory
createAsync
-
Constructor Details
-
MacOSFontCollectionsFactory
public MacOSFontCollectionsFactory()
-
-
Method Details
-
generateCollections
protected @NonNull javafx.collections.ObservableList<FontCollection> generateCollections(@NonNull List<FontFamily> families) Description copied from class:DefaultFontCollectionsFactoryGroups a list of font families into collections.This implementation uses a hardcoded set of collections.
- Overrides:
generateCollectionsin classDefaultFontCollectionsFactory- Parameters:
families- a list of font families- Returns:
- a collection of font families
-