deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.graphics.displayelements
Class PointDisplayElement

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

 class PointDisplayElement
extends GeometryDisplayElement
implements DisplayElement, Serializable

DisplayElement that encapsulates a point geometry (GM_Point) and a PointSymbolizer.

Version:
$Revision: 9340 $ $Date: 2007-12-27 13:32:12 +0100 (Do, 27 Dez 2007) $
Author:
Andreas Poth, Markus Schneider

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
PointDisplayElement(Feature feature, MultiPoint geometry)
          Creates a new PointDisplayElement object.
PointDisplayElement(Feature feature, MultiPoint geometry, PointSymbolizer symbolizer)
          Creates a new PointDisplayElement object.
PointDisplayElement(Feature feature, Point geometry)
          Creates a new PointDisplayElement_Impl object.
PointDisplayElement(Feature feature, Point geometry, PointSymbolizer symbolizer)
          Creates a new PointDisplayElement_Impl object.
 
Method Summary
 void paint(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

PointDisplayElement

public PointDisplayElement(Feature feature,
                           Point geometry)
Creates a new PointDisplayElement_Impl object.

Parameters:
feature -
geometry -

PointDisplayElement

public PointDisplayElement(Feature feature,
                           Point geometry,
                           PointSymbolizer symbolizer)
Creates a new PointDisplayElement_Impl object.

Parameters:
feature -
geometry -
symbolizer -

PointDisplayElement

public PointDisplayElement(Feature feature,
                           MultiPoint geometry)
Creates a new PointDisplayElement object.

Parameters:
feature -
geometry -

PointDisplayElement

public PointDisplayElement(Feature feature,
                           MultiPoint geometry,
                           PointSymbolizer symbolizer)
Creates a new PointDisplayElement object.

Parameters:
feature -
geometry -
symbolizer -
Method Detail

paint

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

Specified by:
paint in interface DisplayElement
Parameters:
g - graphics context to render to

deegree 2.2 (2008/12/22 11:33 build-3038-official)

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