public class FilledSplineEditingProvider extends SplineEditingProvider implements EditingProvider
closeSpline, featureStore, finishSpline, options, points, 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 |
---|
FilledSplineEditingProvider(ProviderServices services,
DynObject parameters) |
Modifier and Type | Method and Description |
---|---|
Geometry |
finish()
Finalizes provider.
|
DrawingStatus |
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 FilledSplineEditingProvider(ProviderServices services, DynObject parameters)
services
- parameters
- public DrawingStatus 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 SplineEditingProvider
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 SplineEditingProvider
FinishServiceException
- if there are some error getting values,
creating geometries.public String getName()
EditingProvider
getName
in interface EditingProvider
getName
in class SplineEditingProvider