deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.graphics.displayelements
Class PolygonDisplayElement

java.lang.Object
  extended by org.deegree.graphics.displayelements.AbstractDisplayElement
      extended by org.deegree.graphics.displayelements.GeometryDisplayElement
          extended by org.deegree.graphics.displayelements.PolygonDisplayElement
All Implemented Interfaces:
java.io.Serializable, DisplayElement

public class PolygonDisplayElement
extends GeometryDisplayElement
implements DisplayElement, java.io.Serializable

DisplayElement that encapsulates a Surface or MultiSurface geometry and a PolygonSymbolizer.

Version:
$Revision: 21456 $, $Date: 2009-12-15 15:17:33 +0100 (Di, 15 Dez 2009) $
Author:
Andreas Poth, last edited by: $Author: aschmitz $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.deegree.graphics.displayelements.GeometryDisplayElement
geometry, highlightSymbolizer, placement, selectedSymbolizer, symbolizer
 
Fields inherited from class org.deegree.graphics.displayelements.AbstractDisplayElement
feature
 
Constructor Summary
PolygonDisplayElement(Feature feature, MultiSurface geometry)
          Creates a new PolygonDisplayElement object.
PolygonDisplayElement(Feature feature, MultiSurface geometry, PolygonSymbolizer symbolizer)
          Creates a new PolygonDisplayElement object.
PolygonDisplayElement(Feature feature, Surface geometry)
          Creates a new PolygonDisplayElement object.
PolygonDisplayElement(Feature feature, Surface geometry, PolygonSymbolizer symbolizer)
          Creates a new PolygonDisplayElement object.
 
Method Summary
 void paint(java.awt.Graphics g, GeoTransform projection, double scale)
          renders the DisplayElement to the submitted graphic context
 
Methods inherited from class org.deegree.graphics.displayelements.GeometryDisplayElement
doesScaleConstraintApply, getGeometry, getHighlightSymbolizer, getSelectedSymbolizer, getSymbolizer, growEnvelope, setGeometry, setHighlightSymbolizer, setPlacement, setSelectedSymbolizer, setSymbolizer
 
Methods inherited from class org.deegree.graphics.displayelements.AbstractDisplayElement
getAssociateFeatureId, getFeature, isHighlighted, isSelected, setFeature, setHighlighted, setSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.deegree.graphics.displayelements.DisplayElement
doesScaleConstraintApply, getAssociateFeatureId, getFeature, isHighlighted, isSelected, setFeature, setHighlighted, setSelected
 

Constructor Detail

PolygonDisplayElement

public PolygonDisplayElement(Feature feature,
                             Surface geometry)
Creates a new PolygonDisplayElement object.

Parameters:
feature -
geometry -

PolygonDisplayElement

public PolygonDisplayElement(Feature feature,
                             Surface geometry,
                             PolygonSymbolizer symbolizer)
Creates a new PolygonDisplayElement object.

Parameters:
feature -
geometry -
symbolizer -

PolygonDisplayElement

public PolygonDisplayElement(Feature feature,
                             MultiSurface geometry)
Creates a new PolygonDisplayElement object.

Parameters:
feature -
geometry -

PolygonDisplayElement

public PolygonDisplayElement(Feature feature,
                             MultiSurface geometry,
                             PolygonSymbolizer symbolizer)
Creates a new PolygonDisplayElement object.

Parameters:
feature -
geometry -
symbolizer -
Method Detail

paint

public void paint(java.awt.Graphics g,
                  GeoTransform projection,
                  double scale)
renders the DisplayElement to the submitted graphic context

Specified by:
paint in interface DisplayElement
Parameters:
g -
projection -
scale -

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org