deegree 2.1 (2007/11/08 09:57 build-328-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: 6259 $ $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 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, 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.1 (2007/11/08 09:57 build-328-official)

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