Package org.freeplane.core.ui.components.html

Examples of org.freeplane.core.ui.components.html.ScaledEditorKit


    zoom = viewController.getZoom();
    if (zoom != 1F) {
      final float fontSize = (int) (Math.rint(font.getSize() * zoom));
      font = font.deriveFont(fontSize);
    }
    final HTMLEditorKit kit = new ScaledEditorKit(){
      @Override
      public void write(Writer out, Document doc, int pos, int len) throws IOException, BadLocationException {
        if (doc instanceof HTMLDocument) {
          HTMLWriter w = new SHTMLWriter(out, (HTMLDocument) doc, pos, len);
          w.write();
View Full Code Here

TOP

Related Classes of org.freeplane.core.ui.components.html.ScaledEditorKit

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.