com.vividsolutions.jump.workbench.ui.renderer.style
Class ArrowLineStringSegmentStyle

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.renderer.style.LineStringStyle
      extended by com.vividsolutions.jump.workbench.ui.renderer.style.LineStringSegmentStyle
          extended by com.vividsolutions.jump.workbench.ui.renderer.style.ArrowLineStringSegmentStyle
All Implemented Interfaces:
ChoosableStyle, Style, java.lang.Cloneable
Direct Known Subclasses:
ArrowLineStringSegmentStyle.NarrowSolid, ArrowLineStringSegmentStyle.Open, ArrowLineStringSegmentStyle.Solid

public class ArrowLineStringSegmentStyle
extends LineStringSegmentStyle


Nested Class Summary
static class ArrowLineStringSegmentStyle.NarrowSolid
           
static class ArrowLineStringSegmentStyle.Open
           
static class ArrowLineStringSegmentStyle.Solid
           
 
Field Summary
protected  double finLength
           
 
Fields inherited from class com.vividsolutions.jump.workbench.ui.renderer.style.LineStringSegmentStyle
icon, name
 
Fields inherited from class com.vividsolutions.jump.workbench.ui.renderer.style.LineStringStyle
enabled, fillColorWithAlpha, lineColorWithAlpha, stroke
 
Constructor Summary
ArrowLineStringSegmentStyle(java.lang.String name, java.lang.String iconFile, double finAngle, double finLength, boolean filled)
           
 
Method Summary
protected  void paint(java.awt.geom.Point2D p0, java.awt.geom.Point2D p1, Viewport viewport, java.awt.Graphics2D graphics)
           
 
Methods inherited from class com.vividsolutions.jump.workbench.ui.renderer.style.LineStringSegmentStyle
getIcon, getName, paint, paintLineString
 
Methods inherited from class com.vividsolutions.jump.workbench.ui.renderer.style.LineStringStyle
clone, initialize, isEnabled, paint, paintGeometry, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.vividsolutions.jump.workbench.ui.renderer.style.Style
clone, initialize, isEnabled, paint, setEnabled
 

Field Detail

finLength

protected double finLength
Constructor Detail

ArrowLineStringSegmentStyle

public ArrowLineStringSegmentStyle(java.lang.String name,
                                   java.lang.String iconFile,
                                   double finAngle,
                                   double finLength,
                                   boolean filled)
Parameters:
finAngle - degrees
finLength - pixels
Method Detail

paint

protected void paint(java.awt.geom.Point2D p0,
                     java.awt.geom.Point2D p1,
                     Viewport viewport,
                     java.awt.Graphics2D graphics)
              throws java.awt.geom.NoninvertibleTransformException
Specified by:
paint in class LineStringSegmentStyle
Throws:
java.awt.geom.NoninvertibleTransformException