|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is used to manage feature attributes.
Each feature should have default geometry and zero or more non-geometry attributes. The geometry attribute not only describes how to draw the feature, but also can be used in spatial calculation. Non-geometry attribute describes some accessional attribute, such as name,area,length,width, and so on. At present, all attributes stored in a feature are read-only .
Method Summary | |
java.lang.Object |
getAttribute(java.lang.String attributeName)
Gets the specified attribute value |
int |
getAttributesConunt()
Gets the attributes count of the feature |
java.util.Iterator |
getAttributesNames()
Gets the names of all the feature's attributes |
java.awt.geom.Rectangle2D |
getBounds()
Gets the bounds of the feature's default geometry. |
java.lang.String |
getGeomType()
|
java.lang.String |
getID()
Gets feature id. |
java.util.List |
getPoints()
Gets the points making up of the geometry of the feature. |
void |
setGeomType(java.lang.String type)
|
Method Detail |
public java.lang.Object getAttribute(java.lang.String attributeName)
attributeName
- the specified attribute name
public int getAttributesConunt()
public java.util.Iterator getAttributesNames()
public java.awt.geom.Rectangle2D getBounds()
public java.lang.String getGeomType()
public java.lang.String getID()
public java.util.List getPoints()
public void setGeomType(java.lang.String type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |