Package org.geomajas.gwt.client.map.event

Examples of org.geomajas.gwt.client.map.event.FeatureDeselectedEvent


   * @return true when the feature was selected
   */
  public boolean deselectFeature(Feature feature) {
    if (selectedFeatures.containsKey(feature.getId())) {
      Feature org = selectedFeatures.remove(feature.getId());
      handlerManager.fireEvent(new FeatureDeselectedEvent(org));
      return true;
    } else {
      return false;
    }
  }
View Full Code Here


  /** Clear the list of selected features. */
  public void clearSelectedFeatures() {
    List<Feature> clone = new LinkedList<Feature>(selectedFeatures.values());
    for (Feature feature : clone) {
      selectedFeatures.remove(feature.getId());
      handlerManager.fireEvent(new FeatureDeselectedEvent(feature));
    }
  }
View Full Code Here

TOP

Related Classes of org.geomajas.gwt.client.map.event.FeatureDeselectedEvent

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.