Examples of ScaleBarComponentImpl


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

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

    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
Copyright © 2018 www.massapi.com. 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.