org.wicketstuff.openlayers.api.feature
Class Feature

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

public abstract class Feature
extends java.lang.Object
implements java.io.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
 java.util.List<com.vividsolutions.jts.geom.Coordinate> getCoordinates()
           
 java.lang.String getDisplayInLayer()
           
 FeatureStyle getFeatureStyle()
           
 java.lang.String getId()
           
 java.lang.String getJSAddFeature(IOpenLayersMap map, Vector vector)
           
 java.lang.String getJSconstructor()
           
protected  java.lang.String getJScoordinateList(java.lang.String type, java.lang.String coordinateList)
           
 java.lang.String getJSRemoveFeature(IOpenLayersMap map, Vector vector)
           
 IOpenLayersMap getMap()
           
protected abstract  java.lang.String getType()
           
 void setCoordinates(java.util.List<com.vividsolutions.jts.geom.Coordinate> coordinates)
           
 void setDisplayInLayer(java.lang.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 java.lang.String getId()

getType

protected abstract java.lang.String getType()

getJSAddFeature

public java.lang.String getJSAddFeature(IOpenLayersMap map,
                                        Vector vector)

getJSRemoveFeature

public java.lang.String getJSRemoveFeature(IOpenLayersMap map,
                                           Vector vector)

getJScoordinateList

protected java.lang.String getJScoordinateList(java.lang.String type,
                                               java.lang.String coordinateList)

getJSconstructor

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

getDisplayInLayer

public java.lang.String getDisplayInLayer()

setCoordinates

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

getCoordinates

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


Copyright © 2008-2010. All Rights Reserved.