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


Constructor Summary
protected Feature(JSObject element)
           
 
Method Summary
 Popup createPopup(boolean closeBox)
           
 void destroy()
           
 LonLat getCenterLonLat()
           
 java.lang.String getFeatureId()
           
 java.lang.String getFID()
           
 Popup getPopup()
           
 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 java.lang.String getFeatureId()
Returns:
a generated ID. Prefer the use of getFID, which supports an OGC standard.

getFID

public java.lang.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)