Package com.iizigo.font
Class DesignerFontManager
java.lang.Object
com.iizigo.font.DesignerFontManager
Font manager to handle installed fonts for Designer and DesignViewer.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionbooleaninstallFont(String fontFamily, EnvProps env) Installs the font families as specified by the font family.booleaninstallFonts(List<FontFiles> fontList, EnvProps env) Installs the font face as specified by theFontFilesinstance for the Client Session.voidsetModule(ModuleModel model) Assigns a new module model.
Constructor Details
DesignerFontManager
Constructor.- Parameters:
model- The Module model.sender- The transaction sender.
Method Details
installFonts
Installs the font face as specified by theFontFilesinstance for the Client Session.- Parameters:
fontList- The font list.env- The client side environment.- Returns:
- true for full success, false for at least one failure.
installFont
Installs the font families as specified by the font family.- Parameters:
fontFamily- The font family, comma separated string not accepted.- Returns:
- true for success, false for failure.
setModule
Assigns a new module model.- Parameters:
model- The module model.