org.openjump.core.ui.style.decoration
Class VertexZValueStyle

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.renderer.style.LineStringStyle
      extended by com.vividsolutions.jump.workbench.ui.renderer.style.LineStringVertexStyle
          extended by org.openjump.core.ui.style.decoration.VertexZValueStyle
All Implemented Interfaces:
ChoosableStyle, Style, java.lang.Cloneable
Direct Known Subclasses:
VertexZValueStyle.VertexZValue

public class VertexZValueStyle
extends LineStringVertexStyle

Displays the vertex z value for each vertex of a line string.

Version:
1.0
Author:
Michael Michaud

Nested Class Summary
static class VertexZValueStyle.VertexZValue
           
 
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
VertexZValueStyle(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

VertexZValueStyle

public VertexZValueStyle(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