|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.adf.web.data.graphics.GraphicFeature
public class GraphicFeature
GraphicFeature is a class for storing spatial and nonspatial atributes. Instances of GraphicFeature constitute the content of GraphicsLayer
Constructor Summary | |
---|---|
GraphicFeature()
|
Method Summary | |
---|---|
Map<String,String> |
getAttributes()
Returns a Map of nonspatial feature attributes. |
WebGeometry |
getGeometry()
Returns geometry of the feature |
void |
setAttributes(Map<String,String> attributes)
Sets the attributes to the feature. |
void |
setGeometry(WebGeometry geometry)
Sets the geometry to the feature. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphicFeature()
Method Detail |
---|
public Map<String,String> getAttributes()
public void setAttributes(Map<String,String> attributes)
attributes
- a Map of attributes to be set.public void setGeometry(WebGeometry geometry)
geometry
- feature geometrypublic WebGeometry getGeometry()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |