com.sun.electric.database.geometry
Enum EGraphics.Outline

java.lang.Object
  extended by java.lang.Enum<EGraphics.Outline>
      extended by com.sun.electric.database.geometry.EGraphics.Outline
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EGraphics.Outline>
Enclosing class:
EGraphics

public static enum EGraphics.Outline
extends java.lang.Enum<EGraphics.Outline>

Class to define the type of outline around a stipple pattern.


Enum Constant Summary
NOPAT
          Draw stipple pattern with no outline.
PAT_DA1
          Draw stipple pattern with short dashed outline.
PAT_DA1_T1
          Draw stipple pattern with dashed thick outline.
PAT_DA2
          Draw stipple pattern with long dashed outline.
PAT_DD1
          Draw stipple pattern with short dotted-dashed outline.
PAT_DD2
          Draw stipple pattern with long dotted-dashed outline.
PAT_DO1
          Draw stipple pattern with close dotted outline.
PAT_DO1_T1
          Draw stipple pattern with close dotted thick outline.
PAT_DO1_T2
          Draw stipple pattern with close dotted thicker outline.
PAT_DO2
          Draw stipple pattern with far dotted outline.
PAT_DO2_T1
          Draw stipple pattern with far dotted thick outline.
PAT_DO2_T2
          Draw stipple pattern with far dotted thicker outline.
PAT_S
          Draw stipple pattern with solid outline.
PAT_T1
          Draw stipple pattern with solid thick outline.
PAT_T2
          Draw stipple pattern with solid thicker outline.
 
Method Summary
static EGraphics.Outline findOutline(int index)
           
static EGraphics.Outline findOutline(java.lang.String name)
           
 java.lang.String getConstName()
           
 int getIndex()
           
 int getLen()
           
 java.lang.String getName()
           
static java.util.List<EGraphics.Outline> getOutlines()
           
 int getPattern()
           
 int getThickness()
           
 boolean isSolidPattern()
           
 java.lang.String toString()
           
static EGraphics.Outline valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EGraphics.Outline[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOPAT

public static final EGraphics.Outline NOPAT
Draw stipple pattern with no outline.


PAT_S

public static final EGraphics.Outline PAT_S
Draw stipple pattern with solid outline.


PAT_T1

public static final EGraphics.Outline PAT_T1
Draw stipple pattern with solid thick outline.


PAT_T2

public static final EGraphics.Outline PAT_T2
Draw stipple pattern with solid thicker outline.


PAT_DO1

public static final EGraphics.Outline PAT_DO1
Draw stipple pattern with close dotted outline.


PAT_DO2

public static final EGraphics.Outline PAT_DO2
Draw stipple pattern with far dotted outline.


PAT_DA1

public static final EGraphics.Outline PAT_DA1
Draw stipple pattern with short dashed outline.


PAT_DA2

public static final EGraphics.Outline PAT_DA2
Draw stipple pattern with long dashed outline.


PAT_DD1

public static final EGraphics.Outline PAT_DD1
Draw stipple pattern with short dotted-dashed outline.


PAT_DD2

public static final EGraphics.Outline PAT_DD2
Draw stipple pattern with long dotted-dashed outline.


PAT_DO1_T1

public static final EGraphics.Outline PAT_DO1_T1
Draw stipple pattern with close dotted thick outline.


PAT_DO2_T1

public static final EGraphics.Outline PAT_DO2_T1
Draw stipple pattern with far dotted thick outline.


PAT_DA1_T1

public static final EGraphics.Outline PAT_DA1_T1
Draw stipple pattern with dashed thick outline.


PAT_DO1_T2

public static final EGraphics.Outline PAT_DO1_T2
Draw stipple pattern with close dotted thicker outline.


PAT_DO2_T2

public static final EGraphics.Outline PAT_DO2_T2
Draw stipple pattern with far dotted thicker outline.

Method Detail

values

public static EGraphics.Outline[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (EGraphics.Outline c : EGraphics.Outline.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EGraphics.Outline valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getName

public java.lang.String getName()

getConstName

public java.lang.String getConstName()

getIndex

public int getIndex()

isSolidPattern

public boolean isSolidPattern()

getPattern

public int getPattern()

getLen

public int getLen()

getThickness

public int getThickness()

findOutline

public static EGraphics.Outline findOutline(int index)

findOutline

public static EGraphics.Outline findOutline(java.lang.String name)

getOutlines

public static java.util.List<EGraphics.Outline> getOutlines()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<EGraphics.Outline>