public static enum Location.LocationType extends java.lang.Enum<Location.LocationType>
Enum Constant and Description |
---|
PRODUCTION |
STOCK |
Modifier and Type | Method and Description |
---|---|
static org.jdesktop.swingx.JXComboBox |
getCombobox() |
int |
getType() |
static Location.LocationType |
parse(int type) |
java.lang.String |
toString() |
static Location.LocationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Location.LocationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Location.LocationType STOCK
public static final Location.LocationType PRODUCTION
public static Location.LocationType[] values()
for (Location.LocationType c : Location.LocationType.values()) System.out.println(c);
public static Location.LocationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Location.LocationType parse(int type)
public int getType()
public java.lang.String toString()
toString
in class java.lang.Enum<Location.LocationType>
public static org.jdesktop.swingx.JXComboBox getCombobox()