Package org.geomajas.plugin.printing.component.dto

Examples of org.geomajas.plugin.printing.component.dto.LegendGraphicComponentInfo


          // fall back to style name
          if (title == null) {
            title = layerInfo.getNamedStyleInfo().getName();
          }
          LegendItemComponentInfo item = new LegendItemComponentInfo();
          LegendGraphicComponentInfo graphic = new LegendGraphicComponentInfo();
          graphic.setLabel(title);
          graphic.setRuleInfo(rule);
          graphic.setLayerId(layerInfo.getServerLayerId());
          item.addChild(graphic);
          item.addChild(getLegendLabel(legend, title));
          legend.addChild(item);
        }
      } else if (layer instanceof RasterLayer && layer.isShowing()) {
View Full Code Here

TOP

Related Classes of org.geomajas.plugin.printing.component.dto.LegendGraphicComponentInfo

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.