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
Method Summary
Modifier and TypeMethodDescriptionboolean
installFont
(String fontFamily, EnvProps env) Installs the font families as specified by the font family.boolean
installFonts
(List<FontFiles> fontList, EnvProps env) Installs the font face as specified by theFontFiles
instance for the Client Session.void
setModule
(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 theFontFiles
instance 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.