public class PrimitiveGeometryCreator extends AbstractFeatureCreator
| Modifier and Type | Field and Description |
|---|---|
protected List<FeatureCreatedListener> |
listener |
propertiesSIMPLE_GEOMETRY_LISTENER_KEY| Constructor and Description |
|---|
PrimitiveGeometryCreator(String mode)
Creates a new PrimitiveGeometryCreator object.
|
PrimitiveGeometryCreator(String mode,
boolean multi)
Creates a new PrimitiveGeometryCreator object.
|
PrimitiveGeometryCreator(String mode,
Map<String,Object> properties)
Creates a new PrimitiveGeometryCreator object.
|
PrimitiveGeometryCreator(String mode,
Map<String,Object> properties,
boolean multi)
Creates a new PrimitiveGeometryCreator object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFeatureCreatedListener(FeatureCreatedListener listener)
DOCUMENT ME!
|
void |
cancel()
the current creation should be cancelled.
|
void |
createFeature(MappingComponent mc,
FeatureServiceFeature feature)
DOCUMENT ME!
|
double |
getMinArea()
DOCUMENT ME!
|
double |
getMinLength()
DOCUMENT ME!
|
String |
getMode()
DOCUMENT ME!
|
AbstractFeatureService |
getService()
the service that is used by this creator.
|
String |
getTypeName()
Provides the name of the geometry that will be created.
|
boolean |
isMulti()
DOCUMENT ME!
|
void |
resume()
the current creation should be resumed.
|
void |
setMinArea(double minArea)
DOCUMENT ME!
|
void |
setMinLength(double minLength)
DOCUMENT ME!
|
void |
setMulti(boolean multi)
DOCUMENT ME!
|
fillFeatureWithDefaultValues, fillFeatureWithDefaultValuesAfterSave, getProperties, isCreationAllowed, setPropertiesprotected List<FeatureCreatedListener> listener
public PrimitiveGeometryCreator(String mode)
mode - DOCUMENT ME!public PrimitiveGeometryCreator(String mode, Map<String,Object> properties)
mode - DOCUMENT ME!properties - DOCUMENT ME!public PrimitiveGeometryCreator(String mode, boolean multi)
mode - DOCUMENT ME!multi - DOCUMENT ME!public double getMinArea()
public void setMinArea(double minArea)
minArea - the minArea to setpublic double getMinLength()
public void setMinLength(double minLength)
minLength - the minLength to setpublic void createFeature(MappingComponent mc, FeatureServiceFeature feature)
FeatureCreatormc - DOCUMENT ME!feature - DOCUMENT ME!public void addFeatureCreatedListener(FeatureCreatedListener listener)
FeatureCreatorlistener - DOCUMENT ME!public String getTypeName()
FeatureCreatorpublic boolean isMulti()
public void setMulti(boolean multi)
multi - the multi to setpublic void cancel()
FeatureCreatorcancel in interface FeatureCreatorcancel in class AbstractFeatureCreatorpublic void resume()
FeatureCreatorresume in interface FeatureCreatorresume in class AbstractFeatureCreatorpublic AbstractFeatureService getService()
FeatureCreatorpublic String getMode()
Copyright © 2012–2025 cismet GmbH. All rights reserved.