public class EllipseEditingProvider extends FilledEllipseEditingProvider implements EditingProvider
featureStore, firstPointAxisA, lengthAxisB, secondPointAxisA, 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 |
---|
EllipseEditingProvider(ProviderServices services,
DynObject parameters) |
Modifier and Type | Method and Description |
---|---|
protected void |
addEllipseToStatus(DefaultDrawingStatus drawingStatus,
Geometry ellipse) |
protected void |
addTemporaryGeometryToDrawingStatus(DefaultDrawingStatus drawingStatus,
Point firstPointAxis1Value,
Point secondPointAxis1Value,
int subtype,
double distance) |
Geometry |
finish()
Finalizes provider.
|
String |
getName()
Gets provider name.
|
finishAndStore, getDrawingStatus, getParameters, next, setValue, start, stop
getProviderServices, setProviderServices
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
finishAndStore, getDrawingStatus, getParameters, next, setValue, start, stop
setProviderServices
public EllipseEditingProvider(ProviderServices services, DynObject parameters)
public Geometry finish() throws FinishServiceException
EditingProvider
FeatureStore
. Make sure that provider has all required
values.finish
in interface EditingProvider
finish
in class FilledEllipseEditingProvider
FinishServiceException
- if there are some error getting values,
creating geometries.public String getName()
EditingProvider
getName
in interface EditingProvider
getName
in class FilledEllipseEditingProvider
protected void addEllipseToStatus(DefaultDrawingStatus drawingStatus, Geometry ellipse)
protected void addTemporaryGeometryToDrawingStatus(DefaultDrawingStatus drawingStatus, Point firstPointAxis1Value, Point secondPointAxis1Value, int subtype, double distance) throws CreateGeometryException
addTemporaryGeometryToDrawingStatus
in class FilledEllipseEditingProvider
drawingStatus
- firstPointAxis1Value
- secondPointAxis1Value
- subtype
- distance
- CreateGeometryException