Class DesignerFontManager

java.lang.Object
com.iizigo.font.DesignerFontManager

public class DesignerFontManager extends Object
Font manager to handle installed fonts for Designer and DesignViewer.
Author:
Christopher Mindus
  • Constructor Details

    • DesignerFontManager

      public DesignerFontManager(ModuleModel model, ITransactionSender sender)
      Constructor.
      Parameters:
      model - The Module model.
      sender - The transaction sender.
  • Method Details

    • installFonts

      public boolean installFonts(List<FontFiles> fontList, EnvProps env)
      Installs the font face as specified by the FontFiles 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

      public boolean installFont(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.