Class Feature
- java.lang.Object
-
- 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
Constructors Constructor Description Feature()Feature(FeatureStyle featureStyle)Feature(FeatureStyle featureStyle, IOpenLayersMap map)Feature(IOpenLayersMap map)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description List<com.vividsolutions.jts.geom.Coordinate>getCoordinates()StringgetDisplayInLayer()FeatureStylegetFeatureStyle()StringgetId()StringgetJSAddFeature(IOpenLayersMap map, Vector vector)StringgetJSconstructor()protected StringgetJScoordinateList(String type, String coordinateList)StringgetJSRemoveFeature(IOpenLayersMap map, Vector vector)IOpenLayersMapgetMap()protected abstract StringgetType()voidsetCoordinates(List<com.vividsolutions.jts.geom.Coordinate> coordinates)voidsetDisplayInLayer(String displayInLayer)voidsetFeatureStyle(FeatureStyle featureStyle)voidsetMap(IOpenLayersMap map)
-
-
-
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)
-
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()
-
-