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
|
Constructor Summary |
LineType(java.lang.String name,
int type)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
LineType
public LineType(java.lang.String name,
int type)
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)