Package org.geomajas.plugin.printing.component.impl

Examples of org.geomajas.plugin.printing.component.impl.ScaleBarComponentImpl


    PageComponentImpl page = createInstance(PageComponentImpl.class);
    page.setSize(pageSize, landscape);
    page.setTag(PrintTemplate.PAGE);
    MapComponentImpl map = createMap();
    ImageComponentImpl northarrow = createArrow();
    ScaleBarComponentImpl bar = createBar();
    LabelComponentImpl title = createTitle();

    LegendComponentImpl legend = new LegendComponentImpl();
    legend.setTag(PrintTemplate.LEGEND);
    map.addComponent(bar);
View Full Code Here


    title.setTag(PrintTemplate.TITLE);
    return title;
  }

  private ScaleBarComponentImpl createBar() {
    ScaleBarComponentImpl bar = createInstance(ScaleBarComponentImpl.class);
    bar.setTicNumber(3);
    bar.setUnit("m");
    bar.setTag(PrintTemplate.SCALEBAR);
    return bar;
  }
View Full Code Here

TOP

Related Classes of org.geomajas.plugin.printing.component.impl.ScaleBarComponentImpl

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.