Package com.iizigo.font
Class DesignerFontManager
- java.lang.Object
- com.iizigo.font.DesignerFontManager
 
- public class DesignerFontManager extends java.lang.ObjectFont manager to handle installed fonts for Designer and DesignViewer.- Author:
- Christopher Mindus
 
- Constructor Summary- Constructors - Constructor - Description - DesignerFontManager(ModuleModel model, ITransactionSender sender)Constructor.
 - Method Summary- All Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - boolean- installFont(java.lang.String fontFamily, EnvProps env)Installs the font families as specified by the font family.- boolean- installFonts(java.util.List<FontFiles> fontList, EnvProps env)Installs the font face as specified by the- FontFilesinstance for the Client Session.- void- setModule(ModuleModel model)Assigns a new module model.
 
- Constructor Detail- DesignerFontManager- public DesignerFontManager(ModuleModel model, ITransactionSender sender) Constructor.- Parameters:
- model- The Module model.
- sender- The transaction sender.
 
 
 - Method Detail- installFonts- public boolean installFonts(java.util.List<FontFiles> fontList, EnvProps env) Installs the font face as specified by the- FontFilesinstance for the Client Session.- Parameters:
- fontList- The font list.
- env- The client side environment.
- Returns:
- true for success, false for failure.
 
 - installFont- public boolean installFont(java.lang.String fontFamily, EnvProps env)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- public void setModule(ModuleModel model) Assigns a new module model.- Parameters:
- model- The module model.