Package org.openpnp.model
Enum Footprint.Generator
- java.lang.Object
-
- java.lang.Enum<Footprint.Generator>
-
- org.openpnp.model.Footprint.Generator
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Footprint.Generator>
- Enclosing class:
- Footprint
public static enum Footprint.Generator extends java.lang.Enum<Footprint.Generator>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Footprint.GeneratorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Footprint.Generator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Dual
public static final Footprint.Generator Dual
-
Quad
public static final Footprint.Generator Quad
-
Bga
public static final Footprint.Generator Bga
-
Kicad
public static final Footprint.Generator Kicad
-
-
Method Detail
-
values
public static Footprint.Generator[] 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 (Footprint.Generator c : Footprint.Generator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Footprint.Generator 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 namejava.lang.NullPointerException- if the argument is null
-
-