Package org.gvsig.vectorediting.lib.api
Interface DrawingStatus
public interface DrawingStatus
Drawing status represents the status when an user are drawing geometries.
This status includes geometries and information. It is used to show a preview
of the service result.
List of geometries of this drawing status can be different from final
geometries created by service. Sometimes, some auxiliary geometries are added
to help users. For example, when user draws a circle, the radius is also
showed.
Information contains data about parameters of geometries. For example, when
an user is drawing a line, it is interesting to show values like angle, slope
or y-intercept.
- Version:
- $Id$
- Author:
- gvSIG team.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionList<org.gvsig.fmap.geom.Geometry> Gets list of geometries to be drawn.org.gvsig.fmap.geom.GeometryGets the first geometry of type TYPE_GEOMETRYgetInfo()Gets information about position of geometries, angles, distances among geometries...Gets list of status to be drawn.
-
Field Details
-
TYPE_GEOMETRY
static final int TYPE_GEOMETRY- See Also:
-
TYPE_BUILDING
static final int TYPE_BUILDING- See Also:
-
-
Method Details
-
getGeometries
List<org.gvsig.fmap.geom.Geometry> getGeometries()Gets list of geometries to be drawn.- Returns:
-
getGeometry
org.gvsig.fmap.geom.Geometry getGeometry()Gets the first geometry of type TYPE_GEOMETRY- Returns:
-
getStatus
List<DrawingStatus.Status> getStatus()Gets list of status to be drawn.- Returns:
-
getInfo
String getInfo()Gets information about position of geometries, angles, distances among geometries...- Returns:
-