Class LineType

java.lang.Object
  |
  +--LineType
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class LineType
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable

See Also:
Serialized Form

Field Summary
(package private) static int CCHANGE
           
(package private) static int DASHED
           
(package private) static int DEFAULT
           
(package private) static double DEFPERIOD
           
(package private) static double DEFSCALE
           
(package private) static int DOTTED
           
(package private) static int DROP
           
(package private) static java.lang.String[] majornames
           
 java.lang.String name
           
(package private) static int NONE
           
 double oldscale
           
 SavableStroke oldstroke
           
static java.util.TreeSet predefined
           
private static long serialVersionUID
           
(package private) static java.lang.String[] sizenames
           
(package private) static int SOLID
           
(package private)  int type
           
(package private) static int[] types
           
 
Constructor Summary
LineType(java.lang.String name, int type)
           
 
Method Summary
 int compareTo(java.lang.Object that)
           
 boolean equals(java.lang.Object that)
           
 SavableStroke getStroke(double scale)
           
 int getType()
           
(package private) static LineType lookup(java.lang.String newname)
           
 int setType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID

DEFAULT

static final int DEFAULT
See Also:
Constant Field Values

NONE

static final int NONE
See Also:
Constant Field Values

SOLID

static final int SOLID
See Also:
Constant Field Values

DASHED

static final int DASHED
See Also:
Constant Field Values

DROP

static final int DROP
See Also:
Constant Field Values

DOTTED

static final int DOTTED
See Also:
Constant Field Values

CCHANGE

static final int CCHANGE
See Also:
Constant Field Values

DEFSCALE

static double DEFSCALE

DEFPERIOD

static double DEFPERIOD

predefined

public static java.util.TreeSet predefined

name

public java.lang.String name

oldstroke

public transient SavableStroke oldstroke

oldscale

public transient double oldscale

type

int type

majornames

static java.lang.String[] majornames

sizenames

static java.lang.String[] sizenames

types

static int[] types
Constructor Detail

LineType

public LineType(java.lang.String name,
                int type)
Method Detail

getType

public int getType()

setType

public int setType()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

compareTo

public int compareTo(java.lang.Object that)
Specified by:
compareTo in interface java.lang.Comparable

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class java.lang.Object

getStroke

public SavableStroke getStroke(double scale)

lookup

static LineType lookup(java.lang.String newname)