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

org.deegree.graphics.displayelements
Class LineStringDisplayElement

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

 class LineStringDisplayElement
extends GeometryDisplayElement
implements DisplayElement, java.io.Serializable

DisplayElement that encapsulates a linestring or multi-linestring geometry and a LineSymbolizer.

It can be rendered using a solid stroke or a graphics stroke.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Andreas Poth, Markus Schneider, last edited by: $Author: mschneider $

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
LineStringDisplayElement(Feature feature, Curve geometry)
          Creates a new LineStringDisplayElement object.
LineStringDisplayElement(Feature feature, Curve geometry, LineSymbolizer symbolizer)
          Creates a new LineStringDisplayElement object.
LineStringDisplayElement(Feature feature, MultiCurve geometry)
          Creates a new LineStringDisplayElement object.
LineStringDisplayElement(Feature feature, MultiCurve geometry, LineSymbolizer symbolizer)
          Creates a new LineStringDisplayElement 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

LineStringDisplayElement

public LineStringDisplayElement(Feature feature,
                                Curve geometry)
Creates a new LineStringDisplayElement object.

Parameters:
feature -
geometry -

LineStringDisplayElement

public LineStringDisplayElement(Feature feature,
                                Curve geometry,
                                LineSymbolizer symbolizer)
Creates a new LineStringDisplayElement object.

Parameters:
feature -
geometry -
symbolizer -

LineStringDisplayElement

public LineStringDisplayElement(Feature feature,
                                MultiCurve geometry)
Creates a new LineStringDisplayElement object.

Parameters:
feature -
geometry -

LineStringDisplayElement

public LineStringDisplayElement(Feature feature,
                                MultiCurve geometry,
                                LineSymbolizer symbolizer)
Creates a new LineStringDisplayElement 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