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

java.lang.Object
  extended bycom.vividsolutions.jump.workbench.ui.renderer.style.LineStringStyle
      extended bycom.vividsolutions.jump.workbench.ui.renderer.style.LineStringVertexStyle
          extended bycom.vividsolutions.jump.workbench.ui.renderer.style.VertexXYLineSegmentStyle
All Implemented Interfaces:
ChoosableStyle, java.lang.Cloneable, Style
Direct Known Subclasses:
VertexXYLineSegmentStyle.VertexXY

public class VertexXYLineSegmentStyle
extends LineStringVertexStyle

Displays the X,Y coordinate values for each vertex of a line string.

Version:
1.0
Author:
Martin Davis

Nested Class Summary
static class VertexXYLineSegmentStyle.VertexXY
           
 
Field Summary
static int FONT_BASE_SIZE
           
 
Fields inherited from class com.vividsolutions.jump.workbench.ui.renderer.style.LineStringVertexStyle
icon, name
 
Fields inherited from class com.vividsolutions.jump.workbench.ui.renderer.style.LineStringStyle
enabled, fillColorWithAlpha, lineColorWithAlpha, stroke
 
Constructor Summary
VertexXYLineSegmentStyle(java.lang.String name, java.lang.String iconFile)
           
 
Method Summary
protected  void paint(java.awt.geom.Point2D p, com.vividsolutions.jts.geom.LineString line, int index, Viewport viewport, java.awt.Graphics2D g)
           
 
Methods inherited from class com.vividsolutions.jump.workbench.ui.renderer.style.LineStringVertexStyle
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

FONT_BASE_SIZE

public static final int FONT_BASE_SIZE
See Also:
Constant Field Values
Constructor Detail

VertexXYLineSegmentStyle

public VertexXYLineSegmentStyle(java.lang.String name,
                                java.lang.String iconFile)
Method Detail

paint

protected void paint(java.awt.geom.Point2D p,
                     com.vividsolutions.jts.geom.LineString line,
                     int index,
                     Viewport viewport,
                     java.awt.Graphics2D g)
              throws java.lang.Exception
Specified by:
paint in class LineStringVertexStyle
Throws:
java.lang.Exception