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

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.renderer.style.LineStringStyle
      extended by com.vividsolutions.jump.workbench.ui.renderer.style.LineStringEndpointStyle
          extended by com.vividsolutions.jump.workbench.ui.renderer.style.ArrowLineStringEndpointStyle
All Implemented Interfaces:
ChoosableStyle, Style, java.lang.Cloneable
Direct Known Subclasses:
ArrowLineStringEndpointStyle.Feathers, ArrowLineStringEndpointStyle.NarrowSolidEnd, ArrowLineStringEndpointStyle.NarrowSolidStart, ArrowLineStringEndpointStyle.OpenEnd, ArrowLineStringEndpointStyle.OpenStart, ArrowLineStringEndpointStyle.SolidEnd, ArrowLineStringEndpointStyle.SolidStart

public class ArrowLineStringEndpointStyle
extends LineStringEndpointStyle


Nested Class Summary
static class ArrowLineStringEndpointStyle.Feathers
           
static class ArrowLineStringEndpointStyle.FeathersEnd
           
static class ArrowLineStringEndpointStyle.FeathersStart
           
static class ArrowLineStringEndpointStyle.NarrowSolidEnd
           
static class ArrowLineStringEndpointStyle.NarrowSolidStart
           
static class ArrowLineStringEndpointStyle.OpenEnd
           
static class ArrowLineStringEndpointStyle.OpenStart
           
static class ArrowLineStringEndpointStyle.SolidEnd
           
static class ArrowLineStringEndpointStyle.SolidStart
           
 
Field Summary
protected  double finLength
           
 
Fields inherited from class com.vividsolutions.jump.workbench.ui.renderer.style.LineStringEndpointStyle
icon, name
 
Fields inherited from class com.vividsolutions.jump.workbench.ui.renderer.style.LineStringStyle
enabled, fillColorWithAlpha, lineColorWithAlpha, stroke
 
Constructor Summary
ArrowLineStringEndpointStyle(java.lang.String name, boolean start, java.lang.String iconFile, double finAngle, double finLength, boolean filled)
           
 
Method Summary
protected  void paint(java.awt.geom.Point2D terminal, java.awt.geom.Point2D next, Viewport viewport, java.awt.Graphics2D graphics)
           
 
Methods inherited from class com.vividsolutions.jump.workbench.ui.renderer.style.LineStringEndpointStyle
getIcon, getName, 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

ArrowLineStringEndpointStyle

public ArrowLineStringEndpointStyle(java.lang.String name,
                                    boolean start,
                                    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 terminal,
                     java.awt.geom.Point2D next,
                     Viewport viewport,
                     java.awt.Graphics2D graphics)
              throws java.awt.geom.NoninvertibleTransformException
Specified by:
paint in class LineStringEndpointStyle
Throws:
java.awt.geom.NoninvertibleTransformException