public interface FontManagerInitiator
FontManager
instances.FontManagers.startBuilding(String)
Modifier and Type | Method and Description |
---|---|
FontManagerBuilder |
asynchronously()
Request that the
FontManager instance be built asynchronously using a default
TaskService . |
FontManagerBuilder |
asynchronously(TaskService taskService)
Request that the
FontManager instance be built asynchronously using the given
TaskService |
FontManagerBuilder |
synchronously()
Request that the
FontManager instance be built synchronously on the current thread. |
FontManagerInitiator |
withInitializationListener(InitializationListener initializationListener)
Register a
InitializationListener instance to be informed as changes occur during
FontManager creation. |
FontManagerInitiator withInitializationListener(InitializationListener initializationListener)
InitializationListener
instance to be informed as changes occur during
FontManager
creation. There can only be one InitializationListener
. If this method is
called multiple times, the instance passed previously will be replaced by the instance passed in
the following call. If multiple listeners are required, pass a listener instance which
distributes to other instances.
If this method is never called, a default listener instance will be used. If this method is
called with a null
parameter, no listener will be used.
initializationListener
- the instance to be informed as FontManager
creation progresses,
or null
.FontManagerInitiator
instance for further method calls in Fluent API
style.FontManagerBuilder synchronously()
FontManager
instance be built synchronously on the current thread.FontManagerBuilder asynchronously()
FontManager
instance be built asynchronously using a default
TaskService
.FontManagerBuilder asynchronously(TaskService taskService)
FontManager
instance be built asynchronously using the given
TaskService
taskService
- used to execute asynchronous font indexing etc.Copyright © 2024 levigo holding gmbh. All rights reserved.