public class CircumferenceCREditingProvider extends CircleCREditingProvider implements EditingProvider
center, featureStore, radius, values
AGGREGATE, ARC, CIRCLE, CIRCUMFERENCE, COMPLEX, CURVE, ELLIPSE, ELLIPTICARC, FILLEDSPLINE, GEOMETRY, LINE, MULTICURVE, MULTILINE, MULTIPOINT, MULTIPOLYGON, MULTISOLID, MULTISURFACE, NULL, PERIELLIPSE, POINT, POLYGON, RING, SOLID, SPLINE, SURFACE
Constructor and Description |
---|
CircumferenceCREditingProvider(ProviderServices providerServices,
DynObject parameters) |
Modifier and Type | Method and Description |
---|---|
Geometry |
finish()
Finalizes provider.
|
DefaultDrawingStatus |
getDrawingStatus(Point mousePosition)
Gets state of drawing.
|
String |
getName()
Gets provider name.
|
finishAndStore, getParameters, next, setValue, start, stop
getProviderServices, setProviderServices
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
finishAndStore, getParameters, next, setValue, start, stop
setProviderServices
public CircumferenceCREditingProvider(ProviderServices providerServices, DynObject parameters)
public DefaultDrawingStatus getDrawingStatus(Point mousePosition) throws DrawServiceException
EditingProvider
DrawingStatus
. List of
geometries of drawing status object can be different from final
geometries. Use this method to get a draft status information while user
is drawing.getDrawingStatus
in interface EditingProvider
getDrawingStatus
in class CircleCREditingProvider
mousePosition
- Mouse position to draw geometries.DrawingStatus
object with a list of geometries and
information.DrawServiceException
- if there are some error creating geometries.public Geometry finish() throws FinishServiceException
EditingProvider
FeatureStore
. Make sure that provider has all required
values.finish
in interface EditingProvider
finish
in class CircleCREditingProvider
FinishServiceException
- if there are some error getting values,
creating geometries.public String getName()
EditingProvider
getName
in interface EditingProvider
getName
in class CircleCREditingProvider