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

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.MetricsLineStringSegmentStyle
All Implemented Interfaces:
ChoosableStyle, Style, java.lang.Cloneable
Direct Known Subclasses:
MetricsLineStringSegmentStyle.LengthAngle

public class MetricsLineStringSegmentStyle
extends LineStringSegmentStyle

Displays line segment length and absolute angle.

Version:
1.0
Author:
Martin Davis

Nested Class Summary
static class MetricsLineStringSegmentStyle.LengthAngle
           
 
Field Summary
static int FONT_BASE_SIZE
           
 
Constructor Summary
MetricsLineStringSegmentStyle(java.lang.String name, java.lang.String iconFile)
           
 
Method Summary
 
Methods inherited from class com.vividsolutions.jump.workbench.ui.renderer.style.LineStringSegmentStyle
getIcon, getName
 
Methods inherited from class com.vividsolutions.jump.workbench.ui.renderer.style.LineStringStyle
clone, initialize, isEnabled, paint, setEnabled
 
Methods inherited from class java.lang.Object
equals, 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

MetricsLineStringSegmentStyle

public MetricsLineStringSegmentStyle(java.lang.String name,
                                     java.lang.String iconFile)
Parameters:
finAngle - degrees
finLength - pixels