public class ShapeFeature extends DefaultFeatureServiceFeature implements ModifiableFeature
| Modifier and Type | Class and Description |
|---|---|
protected class |
ShapeFeature.ShapeFileLayerDeegreeFeature
DOCUMENT ME!
|
DefaultFeatureServiceFeature.DeegreeEvaluator, DefaultFeatureServiceFeature.DeegreeFeature, DefaultFeatureServiceFeature.DeegreeFeatureType, DefaultFeatureServiceFeature.DeegreePropertySLDStyledFeature.UOMCLASS_ID, evaluator, GEOMETRIE, logger, OBJECT_ID, selectedImage, styles, stylings| Constructor and Description |
|---|
ShapeFeature(ShapeInfo shapeInfo)
Creates a new ShapeFeature object.
|
ShapeFeature(ShapeInfo shapeInfo,
List<org.deegree.style.se.unevaluated.Style> styles)
Creates a new ShapeFeature object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProperties(Map<String,Object> map)
DOCUMENT ME!
|
void |
addProperty(String propertyName,
Object property)
Fügt das übergebene Objekt dem PropertyContainer unter gegebenem Namen ein.
|
void |
delete()
Deletes the feature.
|
protected org.deegree.feature.Feature |
getDeegreeFeature()
DOCUMENT ME!
|
com.vividsolutions.jts.geom.Geometry |
getGeometry()
DOCUMENT ME!
|
HashMap |
getProperties()
/** * Creates a new ShapeFeature object.
|
Object |
getProperty(String propertyName)
Liefert die dem Namen zugeordnete Property.
|
boolean |
isFeatureChanged()
Determies, if the feature was changed during the current edit mode interval.
|
void |
restore()
Restores a previously deleted feature.
|
FeatureServiceFeature |
saveChanges()
DOCUMENT ME!
|
void |
saveChangesWithoutReload()
Saves the feature.
|
void |
setEditable(boolean editable)
DOCUMENT ME!
|
void |
setGeometry(com.vividsolutions.jts.geom.Geometry geom)
DOCUMENT ME!
|
void |
setProperty(String propertyName,
Object propertyValue)
DOCUMENT ME!
|
void |
undoAll()
DOCUMENT ME!
|
addPropertyChangeListener, applyFill, applyLineStyling, applyPointStyling, applyPolygonStyling, applyStroke, applyStyle, applyTextStyling, canBeSelected, clone, compareTo, equals, firePropertyChange, getFillingPaint, getFontStyling, getId, getIdExpression, getImageFromDeegree, getImageFromWellKnownName, getLayerProperties, getLinePaint, getLineWidth, getMaxScaleDenominator, getMinScaleDenominator, getMultiplierFromDeegreeUOM, getName, getPaintFromDeegree, getPointAnnotationSymbol, getPrimaryAnnotation, getPrimaryAnnotationFont, getPrimaryAnnotationHalo, getPrimaryAnnotationJustification, getPrimaryAnnotationPaint, getPrimaryAnnotationScaling, getSecondaryAnnotation, getStyle, getTransparency, getUOMFromDeegree, hasAdditionalProperties, hashCode, hide, isAutoscale, isEditable, isHidden, isHighlightingEnabled, isPrimaryAnnotationVisible, removeProperty, removePropertyChangeListener, rescaleStickyNode, setAutoScale, setCanBeSelected, setFillingPaint, setHighlightingEnabled, setId, setIdExpression, setLayerProperties, setLinePaint, setLineWidth, setMaxScaleDenominator, setMinScaleDenominator, setPointAnnotationSymbol, setPrimaryAnnotation, setPrimaryAnnotationFont, setPrimaryAnnotationHalo, setPrimaryAnnotationJustification, setPrimaryAnnotationPaint, setPrimaryAnnotationScaling, setPrimaryAnnotationVisible, setProperties, setSecondaryAnnotation, setSLDStyles, setTransparency, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcanBeSelected, hide, isEditable, isHidden, setCanBeSelectedpublic ShapeFeature(ShapeInfo shapeInfo)
shapeInfo - typename DOCUMENT ME!public void setEditable(boolean editable)
DefaultFeatureServiceFeaturesetEditable in interface FeaturesetEditable in class DefaultFeatureServiceFeatureeditable - DOCUMENT ME!public HashMap getProperties()
getProperties in interface PropertyContainergetProperties in class DefaultFeatureServiceFeaturepublic Object getProperty(String propertyName)
DefaultFeatureServiceFeaturegetProperty in interface PropertyContainergetProperty in class DefaultFeatureServiceFeaturepropertyName - Name des gesuchten Objektspublic void setProperty(String propertyName, Object propertyValue)
setProperty in interface PropertyContainersetProperty in class DefaultFeatureServiceFeaturepropertyName - DOCUMENT ME!propertyValue - DOCUMENT ME!public FeatureServiceFeature saveChanges() throws Exception
saveChanges in interface ModifiableFeaturesaveChanges in class DefaultFeatureServiceFeatureException - DOCUMENT ME!public void undoAll()
undoAll in interface ModifiableFeatureundoAll in class DefaultFeatureServiceFeaturepublic void addProperty(String propertyName, Object property)
DefaultFeatureServiceFeatureaddProperty in interface PropertyContaineraddProperty in class DefaultFeatureServiceFeaturepropertyName - Name und gleichzeitig Schlüsselproperty - einzufügendes Objektpublic void addProperties(Map<String,Object> map)
addProperties in class DefaultFeatureServiceFeaturemap - DOCUMENT ME!public com.vividsolutions.jts.geom.Geometry getGeometry()
getGeometry in interface FeaturegetGeometry in class DefaultFeatureServiceFeaturepublic void setGeometry(com.vividsolutions.jts.geom.Geometry geom)
setGeometry in interface FeaturesetGeometry in class DefaultFeatureServiceFeaturegeom - DOCUMENT ME!protected org.deegree.feature.Feature getDeegreeFeature()
DefaultFeatureServiceFeaturegetDeegreeFeature in class DefaultFeatureServiceFeaturepublic void saveChangesWithoutReload()
throws Exception
ModifiableFeaturesaveChangesWithoutReload in interface ModifiableFeatureException - DOCUMENT ME!public void delete()
throws Exception
ModifiableFeaturedelete in interface ModifiableFeatureException - DOCUMENT ME!public void restore()
throws Exception
ModifiableFeaturerestore in interface ModifiableFeatureException - DOCUMENT ME!public boolean isFeatureChanged()
ModifiableFeatureisFeatureChanged in interface ModifiableFeatureCopyright © 2012–2025 cismet GmbH. All rights reserved.