Package org.geomajas.widget.advancedviews.configuration.client

Examples of org.geomajas.widget.advancedviews.configuration.client.LayerTreeWithLegendInfo


  // -- part of legend

  @Override
  protected void initialize() {
    super.initialize();
    LayerTreeWithLegendInfo ltwli = WidgetInfoHelper.getClientWidgetInfo(LayerTreeWithLegendInfo.IDENTIFIER,
        mapWidget);
    setIconSize(ltwli == null ? DEFAULT_ICONSIZE : ltwli.getIconSize());

    for (Layer<?> layer : mapModel.getLayers()) {
      registrations.add(layer.addLayerChangedHandler(new LayerChangedHandler() {
        public void onLabelChange(LayerLabeledEvent event) {
          GWT.log("Legend: onLabelChange() - " + event.getLayer().getLabel());
View Full Code Here

TOP

Related Classes of org.geomajas.widget.advancedviews.configuration.client.LayerTreeWithLegendInfo

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.