Package org.geomajas.puregwt.client.map.event

Examples of org.geomajas.puregwt.client.map.event.LayerShowEvent


  public void setMarkedAsVisible(boolean markedAsVisible) {
    this.markedAsVisible = markedAsVisible;
    eventBus.fireEvent(new LayerVisibilityMarkedEvent(this));
    if (isShowing()) {
      visibleAtPreviousScale = true;
      eventBus.fireEvent(new LayerShowEvent(this));
    } else {
      visibleAtPreviousScale = false;
      eventBus.fireEvent(new LayerHideEvent(this));
    }
  }
View Full Code Here


    }

    public void onViewPortScaled(ViewPortScaledEvent event) {
      if (!visibleAtPreviousScale && isShowing()) {
        visibleAtPreviousScale = true;
        eventBus.fireEvent(new LayerShowEvent(AbstractLayer.this));
      } else if (visibleAtPreviousScale && !isShowing()) {
        visibleAtPreviousScale = false;
        eventBus.fireEvent(new LayerHideEvent(AbstractLayer.this));
      }
    }
View Full Code Here

TOP

Related Classes of org.geomajas.puregwt.client.map.event.LayerShowEvent

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.