org.openstreetmap.josm.gui.mappaint.xml
Class LinemodPrototype

java.lang.Object
  extended by org.openstreetmap.josm.gui.mappaint.xml.Prototype
      extended by org.openstreetmap.josm.gui.mappaint.xml.LinePrototype
          extended by org.openstreetmap.josm.gui.mappaint.xml.LinemodPrototype
All Implemented Interfaces:
java.lang.Comparable<LinemodPrototype>

public class LinemodPrototype
extends LinePrototype
implements java.lang.Comparable<LinemodPrototype>


Nested Class Summary
static class LinemodPrototype.WidthMode
           
 
Field Summary
 boolean over
           
 LinemodPrototype.WidthMode widthMode
           
 
Fields inherited from class org.openstreetmap.josm.gui.mappaint.xml.LinePrototype
color, dashed, dashedColor, realWidth, width
 
Fields inherited from class org.openstreetmap.josm.gui.mappaint.xml.Prototype
code, conditions, priority, range
 
Constructor Summary
LinemodPrototype()
           
LinemodPrototype(LinemodPrototype s, Range range)
           
 
Method Summary
 int compareTo(LinemodPrototype s)
           
 int getWidth()
           
 float getWidth(float ref)
           
 void init()
           
 
Methods inherited from class org.openstreetmap.josm.gui.mappaint.xml.LinePrototype
getDashed, setDashed, setWidth
 
Methods inherited from class org.openstreetmap.josm.gui.mappaint.xml.Prototype
check, getCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

over

public boolean over

widthMode

public LinemodPrototype.WidthMode widthMode
Constructor Detail

LinemodPrototype

public LinemodPrototype(LinemodPrototype s,
                        Range range)

LinemodPrototype

public LinemodPrototype()
Method Detail

init

public void init()
Overrides:
init in class LinePrototype

getWidth

public float getWidth(float ref)

getWidth

public int getWidth()
Overrides:
getWidth in class LinePrototype

compareTo

public int compareTo(LinemodPrototype s)
Specified by:
compareTo in interface java.lang.Comparable<LinemodPrototype>


JOSM