org.gwtopenmaps.openlayers.client.feature
Class Feature

java.lang.Object
  extended by org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
      extended by org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
          extended by org.gwtopenmaps.openlayers.client.feature.Feature
Direct Known Subclasses:
VectorFeature

public abstract class Feature
extends OpenLayersObjectWrapper

Author:
Edwin Commandeur - Atlis EJS, Curtis Jensen, Lukas Johansson

Constructor Summary
protected Feature(JSObject element)
           
 
Method Summary
 Popup createPopup(boolean closeBox)
           
 void destroy()
           
 LonLat getCenterLonLat()
           
 String getFeatureId()
           
 String getFID()
           
 JSObject getLayer()
           
 Popup getPopup()
           
 Style getStyle()
           
 void resetPopup()
           
 void setPopup(Popup popup)
           
 void setStyle(Style newStyle)
           
 
Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
getClassName, getEvents, narrowToOpenLayersObjectWrapper
 
Methods inherited from class org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
getJSObject, setJSObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Feature

protected Feature(JSObject element)
Method Detail

destroy

public void destroy()

getFeatureId

public String getFeatureId()
Returns:
a generated ID. Prefer the use of getFID, which supports an OGC standard.

getFID

public String getFID()

createPopup

public Popup createPopup(boolean closeBox)

getCenterLonLat

public LonLat getCenterLonLat()

setPopup

public void setPopup(Popup popup)

getPopup

public Popup getPopup()

resetPopup

public void resetPopup()

setStyle

public void setStyle(Style newStyle)

getStyle

public Style getStyle()

getLayer

public JSObject getLayer()


Copyright © 2011 sourceforge. All Rights Reserved.