Class FontEnvironments
java.lang.Object
com.levigo.jadice.web.server.font.FontEnvironments
Configures the Font manager for loading documents and annotations.
The fonts included are the system fonts and the standard 14 fonts.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
com.levigo.jadice.fontmanager.FontManagerFuture
ReturnFontManagerFuture
instance used inconfigureFontEnvironment()
method.static FontEnvironments
static void
Checks if the FontManager has already been initialized and if not it does so with the default configuration.boolean
void
setFontManagerFuture
(com.levigo.jadice.fontmanager.FontManagerFuture fontManagerFuture) Method to set your customFontManagerFuture
instance.
-
Method Details
-
getInstance
-
initialize
public static void initialize()Checks if the FontManager has already been initialized and if not it does so with the default configuration. -
configureFontEnvironment
public void configureFontEnvironment() -
isFontEnvironmentConfigured
public boolean isFontEnvironmentConfigured() -
getFontManagerFuture
public com.levigo.jadice.fontmanager.FontManagerFuture getFontManagerFuture()ReturnFontManagerFuture
instance used inconfigureFontEnvironment()
method.- Returns:
- Current used
FontManagerFuture
instance
-
setFontManagerFuture
public void setFontManagerFuture(com.levigo.jadice.fontmanager.FontManagerFuture fontManagerFuture) Method to set your customFontManagerFuture
instance.
-