com.sun.electric.technology
Enum DRCTemplate.DRCMode

java.lang.Object
  extended by java.lang.Enum<DRCTemplate.DRCMode>
      extended by com.sun.electric.technology.DRCTemplate.DRCMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DRCTemplate.DRCMode>
Enclosing class:
DRCTemplate

public static enum DRCTemplate.DRCMode
extends java.lang.Enum<DRCTemplate.DRCMode>


Enum Constant Summary
AC
          only applies if alternate contact rules are in effect
ALL
          always
AN
          Max number of layers are dictated by EGraphics.TRANSPARENT_12.
DE
          only applies if deep rules are in effect
M10
          only applies if there are 10 metal layers in process
M11
          only applies if there are 11 metal layers in process
M12
          only applies if there are 12 metal layers in process
M2
          only applies if there are 2 metal layers in process
M23
          only applies if there are 2-3 metal layers in process
M3
          only applies if there are 3 metal layers in process
M4
          only applies if there are 4 metal layers in process
M456
          only applies if there are 4-6 metal layers in process
M5
          only applies if there are 5 metal layers in process
M56
          only applies if there are 5-6 metal layers in process
M6
          only applies if there are 6 metal layers in process
M7
          only applies if there are 7 metal layers in process
M8
          only applies if there are 8 metal layers in process
M9
          only applies if there are 9 metal layers in process
NAC
          only applies if alternate contact rules are not in effect
NONE
          None
NSV
          only applies if stacked vias are not allowed
SC
          only applies if scmos rules are in effect
SU
          only applies if submicron rules are in effect
SV
          only applies if stacked vias are allowed
 
Method Summary
 int mode()
           
 java.lang.String toString()
           
static DRCTemplate.DRCMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DRCTemplate.DRCMode[] 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

NONE

public static final DRCTemplate.DRCMode NONE
None


ALL

public static final DRCTemplate.DRCMode ALL
always


M23

public static final DRCTemplate.DRCMode M23
only applies if there are 2-3 metal layers in process


M2

public static final DRCTemplate.DRCMode M2
only applies if there are 2 metal layers in process


M3

public static final DRCTemplate.DRCMode M3
only applies if there are 3 metal layers in process


M456

public static final DRCTemplate.DRCMode M456
only applies if there are 4-6 metal layers in process


M4

public static final DRCTemplate.DRCMode M4
only applies if there are 4 metal layers in process


M56

public static final DRCTemplate.DRCMode M56
only applies if there are 5-6 metal layers in process


M5

public static final DRCTemplate.DRCMode M5
only applies if there are 5 metal layers in process


M6

public static final DRCTemplate.DRCMode M6
only applies if there are 6 metal layers in process


M7

public static final DRCTemplate.DRCMode M7
only applies if there are 7 metal layers in process


M8

public static final DRCTemplate.DRCMode M8
only applies if there are 8 metal layers in process


M9

public static final DRCTemplate.DRCMode M9
only applies if there are 9 metal layers in process


M10

public static final DRCTemplate.DRCMode M10
only applies if there are 10 metal layers in process


M11

public static final DRCTemplate.DRCMode M11
only applies if there are 11 metal layers in process


M12

public static final DRCTemplate.DRCMode M12
only applies if there are 12 metal layers in process


AN

public static final DRCTemplate.DRCMode AN
Max number of layers are dictated by EGraphics.TRANSPARENT_12. /** only applies if analog (npn-transistor( rules are in effect


AC

public static final DRCTemplate.DRCMode AC
only applies if alternate contact rules are in effect


NAC

public static final DRCTemplate.DRCMode NAC
only applies if alternate contact rules are not in effect


SV

public static final DRCTemplate.DRCMode SV
only applies if stacked vias are allowed


NSV

public static final DRCTemplate.DRCMode NSV
only applies if stacked vias are not allowed


DE

public static final DRCTemplate.DRCMode DE
only applies if deep rules are in effect


SU

public static final DRCTemplate.DRCMode SU
only applies if submicron rules are in effect


SC

public static final DRCTemplate.DRCMode SC
only applies if scmos rules are in effect

Method Detail

values

public static DRCTemplate.DRCMode[] 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 (DRCTemplate.DRCMode c : DRCTemplate.DRCMode.values())
    System.out.println(c);

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

valueOf

public static DRCTemplate.DRCMode 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

mode

public int mode()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<DRCTemplate.DRCMode>