public class DefaultFeatureServiceFeature extends Object implements FeatureServiceFeature, Comparable<DefaultFeatureServiceFeature>
| Modifier and Type | Class and Description |
|---|---|
protected class |
DefaultFeatureServiceFeature.DeegreeEvaluator
DOCUMENT ME!
|
protected class |
DefaultFeatureServiceFeature.DeegreeFeature
DOCUMENT ME!
|
protected class |
DefaultFeatureServiceFeature.DeegreeFeatureType
DOCUMENT ME!
|
protected class |
DefaultFeatureServiceFeature.DeegreeProperty
DOCUMENT ME!
|
SLDStyledFeature.UOM| Modifier and Type | Field and Description |
|---|---|
protected static String |
CLASS_ID |
protected org.deegree.filter.XPathEvaluator<org.deegree.feature.Feature> |
evaluator |
protected static String |
GEOMETRIE |
protected org.apache.log4j.Logger |
logger |
protected static String |
OBJECT_ID |
protected static Map<BufferedImage,BufferedImage> |
selectedImage |
protected List<org.deegree.style.se.unevaluated.Style> |
styles |
protected LinkedList<org.deegree.commons.utils.Triple<org.deegree.style.styling.Styling,LinkedList<org.deegree.geometry.Geometry>,String>> |
stylings |
| Constructor and Description |
|---|
DefaultFeatureServiceFeature()
Creates a new uninitialised instance of DefaultFeatureServiceFeature.
|
DefaultFeatureServiceFeature(FeatureServiceFeature feature)
Initialises a new DefaultFeatureServiceFeature instance from an existing FeatureServiceFeature object.
|
DefaultFeatureServiceFeature(int id,
com.vividsolutions.jts.geom.Geometry geometry,
LayerProperties layerProperties)
Creates a new initialised instance of DefaultFeatureServiceFeature.
|
DefaultFeatureServiceFeature(int id,
com.vividsolutions.jts.geom.Geometry geometry,
LayerProperties layerProperties,
List<org.deegree.style.se.unevaluated.Style> styles)
Creates a new DefaultFeatureServiceFeature 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 |
addPropertyChangeListener(PropertyChangeListener l)
Add a new PropertyChangeListener.
|
protected void |
applyFill(org.deegree.style.styling.components.UOM uom,
org.deegree.style.styling.components.Fill fill,
edu.umd.cs.piccolo.nodes.PPath pfeature,
MappingComponent map)
DOCUMENT ME!
|
protected void |
applyLineStyling(edu.umd.cs.piccolo.nodes.PPath pfeature,
org.deegree.style.styling.LineStyling styling,
MappingComponent map)
DOCUMENT ME!
|
protected void |
applyPointStyling(edu.umd.cs.piccolo.nodes.PImage image,
org.deegree.style.styling.PointStyling styling,
WorldToScreenTransform wtst,
double x,
double y,
edu.umd.cs.piccolo.PCamera camera,
boolean selected)
DOCUMENT ME!
|
protected void |
applyPolygonStyling(edu.umd.cs.piccolo.nodes.PPath pfeature,
org.deegree.style.styling.PolygonStyling styling,
MappingComponent map)
DOCUMENT ME!
|
protected void |
applyStroke(org.deegree.style.styling.components.UOM uom,
org.deegree.style.styling.components.Stroke stroke,
edu.umd.cs.piccolo.nodes.PPath pfeature,
MappingComponent map)
DOCUMENT ME!
|
void |
applyStyle(PFeature pfeature,
WorldToScreenTransform wtst)
DOCUMENT ME!
|
protected void |
applyTextStyling(PFeature.PTextWithDisplacement ptext,
String value,
org.deegree.style.styling.TextStyling textStyling,
WorldToScreenTransform wtst,
double x,
double y)
DOCUMENT ME!
|
boolean |
canBeSelected()
DOCUMENT ME!
|
Object |
clone()
DOCUMENT ME!
|
int |
compareTo(DefaultFeatureServiceFeature o) |
boolean |
equals(Object obj)
DOCUMENT ME!
|
protected void |
firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
fires a propertyChange event.
|
protected org.deegree.feature.Feature |
getDeegreeFeature()
DOCUMENT ME!
|
Paint |
getFillingPaint()
DOCUMENT ME!
|
protected int |
getFontStyling(org.deegree.style.styling.components.Font font)
DOCUMENT ME!
|
com.vividsolutions.jts.geom.Geometry |
getGeometry()
DOCUMENT ME!
|
int |
getId()
Liefert die ID des DefaultWFSFeatures.
|
String |
getIdExpression()
Liefert den ID-Ausdruck des DefaultWFSFeatures.
|
protected BufferedImage |
getImageFromDeegree(org.deegree.style.styling.components.Graphic graphic,
boolean selected)
DOCUMENT ME!
|
protected BufferedImage |
getImageFromWellKnownName(org.deegree.style.styling.components.Mark.SimpleMark mark)
DOCUMENT ME!
|
LayerProperties |
getLayerProperties()
/** * Erzeugt ein JDOM-Element, das das DefaultFeatureServiceFeature und dessen Attribute * widerspiegelt.
|
Paint |
getLinePaint()
DOCUMENT ME!
|
int |
getLineWidth()
DOCUMENT ME!
|
Integer |
getMaxScaleDenominator()
DOCUMENT ME!
|
Integer |
getMinScaleDenominator()
DOCUMENT ME!
|
protected double |
getMultiplierFromDeegreeUOM(org.deegree.style.styling.components.UOM uom)
DOCUMENT ME!
|
String |
getName()
DOCUMENT ME!
|
protected Paint |
getPaintFromDeegree(org.deegree.style.styling.components.Graphic graphic,
Color color,
org.deegree.style.styling.components.UOM uom,
edu.umd.cs.piccolo.PNode parent,
MappingComponent map)
DOCUMENT ME!
|
FeatureAnnotationSymbol |
getPointAnnotationSymbol()
DOCUMENT ME!
|
String |
getPrimaryAnnotation()
DOCUMENT ME!
|
Font |
getPrimaryAnnotationFont()
DOCUMENT ME!
|
Color |
getPrimaryAnnotationHalo()
DOCUMENT ME!
|
float |
getPrimaryAnnotationJustification()
DOCUMENT ME!
|
Paint |
getPrimaryAnnotationPaint()
DOCUMENT ME!
|
double |
getPrimaryAnnotationScaling()
DOCUMENT ME!
|
HashMap |
getProperties()
DOCUMENT ME!
|
Object |
getProperty(String propertyName)
Liefert die dem Namen zugeordnete Property.
|
String |
getSecondaryAnnotation()
DOCUMENT ME!
|
protected Style |
getStyle()
DOCUMENT ME!
|
float |
getTransparency()
DOCUMENT ME!
|
protected SLDStyledFeature.UOM |
getUOMFromDeegree(org.deegree.style.styling.components.UOM uom)
DOCUMENT ME!
|
protected boolean |
hasAdditionalProperties()
DOCUMENT ME!
|
int |
hashCode()
DOCUMENT ME!
|
void |
hide(boolean hiding)
DOCUMENT ME!
|
boolean |
isAutoscale()
DOCUMENT ME!
|
boolean |
isEditable()
DOCUMENT ME!
|
boolean |
isHidden()
DOCUMENT ME!
|
boolean |
isHighlightingEnabled()
DOCUMENT ME!
|
boolean |
isPrimaryAnnotationVisible()
DOCUMENT ME!
|
void |
removeProperty(String propertyName)
Entfernt die dem Namen zugeordnete Property aus der Hashmap.
|
void |
removePropertyChangeListener(PropertyChangeListener l)
Remove the given PropertyChangeListener.
|
protected void |
rescaleStickyNode(PFeature pfeature,
PSticky sticky)
does not have the limitations from the rescaleStickyNode(PSticky) method of the MappingsComponent.
|
FeatureServiceFeature |
saveChanges()
Saves the feature.
|
void |
setAutoScale(boolean autoScale)
DOCUMENT ME!
|
void |
setCanBeSelected(boolean canBeSelected)
DOCUMENT ME!
|
void |
setEditable(boolean editable)
DOCUMENT ME!
|
void |
setFillingPaint(Paint fillingStyle)
DOCUMENT ME!
|
void |
setGeometry(com.vividsolutions.jts.geom.Geometry geom)
DOCUMENT ME!
|
void |
setHighlightingEnabled(boolean enabled)
DOCUMENT ME!
|
void |
setId(int id)
Setzt die ID des DefaultWFSFeatures neu.
|
void |
setIdExpression(String idExpression)
Setzt den ID-Ausdruck des DefaultWFSFeatures neu.
|
void |
setLayerProperties(LayerProperties layerProperties)
DOCUMENT ME!
|
void |
setLinePaint(Paint linePaint)
DOCUMENT ME!
|
void |
setLineWidth(int width)
DOCUMENT ME!
|
void |
setMaxScaleDenominator(Integer max)
DOCUMENT ME!
|
void |
setMinScaleDenominator(Integer min)
DOCUMENT ME!
|
void |
setPointAnnotationSymbol(FeatureAnnotationSymbol featureAnnotationSymbol)
DOCUMENT ME!
|
void |
setPrimaryAnnotation(String primaryAnnotation)
DOCUMENT ME!
|
void |
setPrimaryAnnotationFont(Font primaryAnnotationFont)
DOCUMENT ME!
|
void |
setPrimaryAnnotationHalo(Color halo)
DOCUMENT ME!
|
void |
setPrimaryAnnotationJustification(float just)
DOCUMENT ME!
|
void |
setPrimaryAnnotationPaint(Paint primaryAnnotationPaint)
DOCUMENT ME!
|
void |
setPrimaryAnnotationScaling(double primaryAnnotationScaling)
DOCUMENT ME!
|
void |
setPrimaryAnnotationVisible(boolean visible)
DOCUMENT ME!
|
void |
setProperties(HashMap properties)
Ersetzt den alten PropertieContainer mit einer neuen HashMap.
|
void |
setProperty(String propertyName,
Object propertyValue)
Ändert das dem Namen zugeordnete Property.
|
void |
setSecondaryAnnotation(String secondaryAnnotation)
DOCUMENT ME!
|
void |
setSLDStyles(List<org.deegree.style.se.unevaluated.Style> featureStyles)
DOCUMENT ME!
|
void |
setTransparency(float transparrency)
DOCUMENT ME!
|
String |
toString() |
void |
undoAll()
DOCUMENT ME!
|
protected static final String CLASS_ID
protected static final String GEOMETRIE
protected static final String OBJECT_ID
protected static Map<BufferedImage,BufferedImage> selectedImage
protected org.apache.log4j.Logger logger
protected org.deegree.filter.XPathEvaluator<org.deegree.feature.Feature> evaluator
protected List<org.deegree.style.se.unevaluated.Style> styles
protected LinkedList<org.deegree.commons.utils.Triple<org.deegree.style.styling.Styling,LinkedList<org.deegree.geometry.Geometry>,String>> stylings
public DefaultFeatureServiceFeature()
public DefaultFeatureServiceFeature(FeatureServiceFeature feature)
feature - layerProperties LayerProperties to be used for initialisationFeatureServiceFeature#clone(Object)public DefaultFeatureServiceFeature(int id,
com.vividsolutions.jts.geom.Geometry geometry,
LayerProperties layerProperties)
id - the unique (within the layer or the feature collection) id of the featuregeometry - the geometry of the featurelayerProperties - (shared) layer properties objectpublic DefaultFeatureServiceFeature(int id,
com.vividsolutions.jts.geom.Geometry geometry,
LayerProperties layerProperties,
List<org.deegree.style.se.unevaluated.Style> styles)
id - DOCUMENT ME!geometry - DOCUMENT ME!layerProperties - DOCUMENT ME!styles - DOCUMENT ME!public Object clone()
clone in interface CloneableFeatureclone in class Objectpublic void addProperty(String propertyName, Object property)
addProperty in interface PropertyContainerpropertyName - Name und gleichzeitig Schlüsselproperty - einzufügendes Objektpublic void addProperties(Map<String,Object> map)
map - DOCUMENT ME!public HashMap getProperties()
getProperties in interface PropertyContainerpublic void setProperties(HashMap properties)
setProperties in interface PropertyContainerproperties - neue Hashmappublic Object getProperty(String propertyName)
getProperty in interface PropertyContainerpropertyName - Name des gesuchten Objektspublic void removeProperty(String propertyName)
removeProperty in interface PropertyContainerpropertyName - Name des zu löschenden Objektsprotected boolean hasAdditionalProperties()
public int getId()
getId in interface FeatureWithIdpublic void setId(int id)
setId in interface FeatureWithIdid - neue IDpublic String getIdExpression()
getIdExpression in interface FeatureWithIdpublic void setIdExpression(String idExpression)
setIdExpression in interface FeatureWithIdidExpression - neuer ID-Ausdruckpublic LayerProperties getLayerProperties()
getLayerProperties in interface InheritsLayerPropertiespublic void setLayerProperties(LayerProperties layerProperties)
setLayerProperties in interface InheritsLayerPropertieslayerProperties - DOCUMENT ME!public Paint getLinePaint()
getLinePaint in interface StyledFeaturepublic void setLinePaint(Paint linePaint)
setLinePaint in interface StyledFeaturelinePaint - DOCUMENT ME!public int getLineWidth()
getLineWidth in interface StyledFeaturepublic void setLineWidth(int width)
setLineWidth in interface StyledFeaturewidth - DOCUMENT ME!public Paint getFillingPaint()
getFillingPaint in interface StyledFeaturepublic void setFillingPaint(Paint fillingStyle)
setFillingPaint in interface StyledFeaturefillingStyle - DOCUMENT ME!public float getTransparency()
getTransparency in interface StyledFeaturepublic void setTransparency(float transparrency)
setTransparency in interface StyledFeaturetransparrency - DOCUMENT ME!public FeatureAnnotationSymbol getPointAnnotationSymbol()
getPointAnnotationSymbol in interface StyledFeaturepublic void setPointAnnotationSymbol(FeatureAnnotationSymbol featureAnnotationSymbol)
setPointAnnotationSymbol in interface StyledFeaturefeatureAnnotationSymbol - DOCUMENT ME!public boolean isHighlightingEnabled()
isHighlightingEnabled in interface StyledFeaturepublic void setHighlightingEnabled(boolean enabled)
setHighlightingEnabled in interface StyledFeatureenabled - DOCUMENT ME!public com.vividsolutions.jts.geom.Geometry getGeometry()
getGeometry in interface Featurepublic void setGeometry(com.vividsolutions.jts.geom.Geometry geom)
setGeometry in interface Featuregeom - DOCUMENT ME!public boolean canBeSelected()
canBeSelected in interface Featurepublic boolean isEditable()
isEditable in interface Featurepublic void setEditable(boolean editable)
setEditable in interface Featureeditable - DOCUMENT ME!public boolean isHidden()
public void hide(boolean hiding)
public String getPrimaryAnnotation()
getPrimaryAnnotation in interface AnnotatedFeaturepublic boolean isPrimaryAnnotationVisible()
isPrimaryAnnotationVisible in interface AnnotatedFeaturepublic void setPrimaryAnnotationVisible(boolean visible)
setPrimaryAnnotationVisible in interface AnnotatedFeaturevisible - DOCUMENT ME!public Font getPrimaryAnnotationFont()
getPrimaryAnnotationFont in interface AnnotatedFeaturepublic Paint getPrimaryAnnotationPaint()
getPrimaryAnnotationPaint in interface AnnotatedFeaturepublic double getPrimaryAnnotationScaling()
getPrimaryAnnotationScaling in interface AnnotatedFeaturepublic float getPrimaryAnnotationJustification()
getPrimaryAnnotationJustification in interface AnnotatedFeaturepublic void setPrimaryAnnotationJustification(float just)
setPrimaryAnnotationJustification in interface AnnotatedFeaturejust - DOCUMENT ME!public String getSecondaryAnnotation()
getSecondaryAnnotation in interface AnnotatedFeaturepublic void setPrimaryAnnotation(String primaryAnnotation)
setPrimaryAnnotation in interface AnnotatedFeatureprimaryAnnotation - DOCUMENT ME!public void setPrimaryAnnotationFont(Font primaryAnnotationFont)
setPrimaryAnnotationFont in interface AnnotatedFeatureprimaryAnnotationFont - DOCUMENT ME!public void setPrimaryAnnotationPaint(Paint primaryAnnotationPaint)
setPrimaryAnnotationPaint in interface AnnotatedFeatureprimaryAnnotationPaint - DOCUMENT ME!public void setPrimaryAnnotationScaling(double primaryAnnotationScaling)
setPrimaryAnnotationScaling in interface AnnotatedFeatureprimaryAnnotationScaling - DOCUMENT ME!public void setSecondaryAnnotation(String secondaryAnnotation)
setSecondaryAnnotation in interface AnnotatedFeaturesecondaryAnnotation - DOCUMENT ME!public boolean isAutoscale()
isAutoscale in interface AnnotatedFeaturepublic void setAutoScale(boolean autoScale)
setAutoScale in interface AnnotatedFeatureautoScale - DOCUMENT ME!public Integer getMinScaleDenominator()
getMinScaleDenominator in interface AnnotatedFeaturepublic Integer getMaxScaleDenominator()
getMaxScaleDenominator in interface AnnotatedFeaturepublic void setMinScaleDenominator(Integer min)
setMinScaleDenominator in interface AnnotatedFeaturemin - DOCUMENT ME!public void setMaxScaleDenominator(Integer max)
setMaxScaleDenominator in interface AnnotatedFeaturemax - DOCUMENT ME!public void setPrimaryAnnotationHalo(Color halo)
setPrimaryAnnotationHalo in interface AnnotatedFeaturehalo - DOCUMENT ME!public Color getPrimaryAnnotationHalo()
getPrimaryAnnotationHalo in interface AnnotatedFeatureprotected Style getStyle()
public void setCanBeSelected(boolean canBeSelected)
setCanBeSelected in interface FeaturecanBeSelected - DOCUMENT ME!public boolean equals(Object obj)
public int hashCode()
protected void applyFill(org.deegree.style.styling.components.UOM uom,
org.deegree.style.styling.components.Fill fill,
edu.umd.cs.piccolo.nodes.PPath pfeature,
MappingComponent map)
uom - DOCUMENT ME!fill - DOCUMENT ME!pfeature - DOCUMENT ME!map - DOCUMENT ME!protected void applyLineStyling(edu.umd.cs.piccolo.nodes.PPath pfeature,
org.deegree.style.styling.LineStyling styling,
MappingComponent map)
pfeature - DOCUMENT ME!styling - DOCUMENT ME!map - DOCUMENT ME!protected void applyPointStyling(edu.umd.cs.piccolo.nodes.PImage image,
org.deegree.style.styling.PointStyling styling,
WorldToScreenTransform wtst,
double x,
double y,
edu.umd.cs.piccolo.PCamera camera,
boolean selected)
image - DOCUMENT ME!styling - DOCUMENT ME!wtst - DOCUMENT ME!x - DOCUMENT ME!y - DOCUMENT ME!camera - DOCUMENT ME!selected - DOCUMENT ME!protected void applyPolygonStyling(edu.umd.cs.piccolo.nodes.PPath pfeature,
org.deegree.style.styling.PolygonStyling styling,
MappingComponent map)
pfeature - DOCUMENT ME!styling - DOCUMENT ME!map - DOCUMENT ME!protected void applyStroke(org.deegree.style.styling.components.UOM uom,
org.deegree.style.styling.components.Stroke stroke,
edu.umd.cs.piccolo.nodes.PPath pfeature,
MappingComponent map)
uom - DOCUMENT ME!stroke - DOCUMENT ME!pfeature - DOCUMENT ME!map - DOCUMENT ME!protected org.deegree.feature.Feature getDeegreeFeature()
public void applyStyle(PFeature pfeature, WorldToScreenTransform wtst)
applyStyle in interface SLDStyledFeaturepfeature - DOCUMENT ME!wtst - DOCUMENT ME!protected void rescaleStickyNode(PFeature pfeature, PSticky sticky)
pfeature - DOCUMENT ME!sticky - DOCUMENT ME!protected void applyTextStyling(PFeature.PTextWithDisplacement ptext, String value, org.deegree.style.styling.TextStyling textStyling, WorldToScreenTransform wtst, double x, double y)
ptext - DOCUMENT ME!value - DOCUMENT ME!textStyling - DOCUMENT ME!wtst - DOCUMENT ME!x - DOCUMENT ME!y - DOCUMENT ME!protected int getFontStyling(org.deegree.style.styling.components.Font font)
font - DOCUMENT ME!protected BufferedImage getImageFromDeegree(org.deegree.style.styling.components.Graphic graphic, boolean selected)
graphic - DOCUMENT ME!selected - DOCUMENT ME!protected BufferedImage getImageFromWellKnownName(org.deegree.style.styling.components.Mark.SimpleMark mark)
mark - DOCUMENT ME!RuntimeException - DOCUMENT ME!protected double getMultiplierFromDeegreeUOM(org.deegree.style.styling.components.UOM uom)
uom - DOCUMENT ME!RuntimeException - DOCUMENT ME!protected Paint getPaintFromDeegree(org.deegree.style.styling.components.Graphic graphic, Color color, org.deegree.style.styling.components.UOM uom, edu.umd.cs.piccolo.PNode parent, MappingComponent map)
graphic - DOCUMENT ME!color - DOCUMENT ME!uom - DOCUMENT ME!parent - DOCUMENT ME!map - DOCUMENT ME!protected SLDStyledFeature.UOM getUOMFromDeegree(org.deegree.style.styling.components.UOM uom)
uom - DOCUMENT ME!RuntimeException - DOCUMENT ME!public void setSLDStyles(List<org.deegree.style.se.unevaluated.Style> featureStyles)
setSLDStyles in interface SLDStyledFeaturefeatureStyles - DOCUMENT ME!public void setProperty(String propertyName, Object propertyValue)
setProperty in interface PropertyContainerpropertyName - Name des gesuchten ObjektspropertyValue - neuer Wert des Propertiespublic FeatureServiceFeature saveChanges() throws Exception
Exception - DOCUMENT ME!UnsupportedOperationException - DOCUMENT ME!public void undoAll()
UnsupportedOperationException - DOCUMENT ME!public void addPropertyChangeListener(PropertyChangeListener l)
l - DOCUMENT ME!public void removePropertyChangeListener(PropertyChangeListener l)
l - DOCUMENT ME!protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)
propertyName - the name of the changed propertyoldValue - the old valuenewValue - the new valuepublic int compareTo(DefaultFeatureServiceFeature o)
compareTo in interface Comparable<DefaultFeatureServiceFeature>public String getName()
FeatureNameProvidergetName in interface FeatureNameProviderCopyright © 2012–2026 cismet GmbH. All rights reserved.