org.wicketstuff.openlayers.api.feature
Class Feature

java.lang.Object
  extended by org.wicketstuff.openlayers.api.feature.Feature
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LineString, Point, Polygon

public abstract class Feature
extends Object
implements Serializable

Author:
Marin Mandradjiev (marinsm@hotmail.com)
See Also:
Serialized Form

Constructor Summary
Feature()
           
Feature(FeatureStyle featureStyle)
           
Feature(FeatureStyle featureStyle, IOpenLayersMap map)
           
Feature(IOpenLayersMap map)
           
 
Method Summary
 List<com.vividsolutions.jts.geom.Coordinate> getCoordinates()
           
 String getDisplayInLayer()
           
 FeatureStyle getFeatureStyle()
           
 String getId()
           
 String getJSAddFeature(IOpenLayersMap map, Vector vector)
           
 String getJSconstructor()
           
protected  String getJScoordinateList(String type, String coordinateList)
           
 String getJSRemoveFeature(IOpenLayersMap map, Vector vector)
           
 IOpenLayersMap getMap()
           
protected abstract  String getType()
           
 void setCoordinates(List<com.vividsolutions.jts.geom.Coordinate> coordinates)
           
 void setDisplayInLayer(String displayInLayer)
           
 void setFeatureStyle(FeatureStyle featureStyle)
           
 void setMap(IOpenLayersMap map)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Feature

public Feature()

Feature

public Feature(FeatureStyle featureStyle)

Feature

public Feature(IOpenLayersMap map)

Feature

public Feature(FeatureStyle featureStyle,
               IOpenLayersMap map)
Method Detail

getId

public String getId()

getType

protected abstract String getType()

getJSAddFeature

public String getJSAddFeature(IOpenLayersMap map,
                              Vector vector)

getJSRemoveFeature

public String getJSRemoveFeature(IOpenLayersMap map,
                                 Vector vector)

getJScoordinateList

protected String getJScoordinateList(String type,
                                     String coordinateList)

getJSconstructor

public String getJSconstructor()

setFeatureStyle

public void setFeatureStyle(FeatureStyle featureStyle)

getFeatureStyle

public FeatureStyle getFeatureStyle()

setMap

public void setMap(IOpenLayersMap map)

getMap

public IOpenLayersMap getMap()

setDisplayInLayer

public void setDisplayInLayer(String displayInLayer)

getDisplayInLayer

public String getDisplayInLayer()

setCoordinates

public void setCoordinates(List<com.vividsolutions.jts.geom.Coordinate> coordinates)

getCoordinates

public List<com.vividsolutions.jts.geom.Coordinate> getCoordinates()


Copyright © 2008-2012. All Rights Reserved.