cassis.gui.util
| Enum Constant and Description |
|---|
ANGSTROM |
CM |
CM_MINUS_1 |
EV |
GHZ |
HZ |
JANSKY |
KELVIN |
KEV |
KHZ |
KM_SEC_MOINS_1 |
M_JANSKY |
M_KELVIN |
METER |
MEV |
MHZ |
MICRO_METER |
MM |
NANO_METER |
PEV |
TEV |
THZ |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
getCoeff() |
java.lang.String |
getValString() |
static UNIT[] |
getXBandUnit() |
static UNIT[] |
getXValUnit() |
static boolean |
isWaveLengthOrVelocity(UNIT theUnit) |
java.lang.String |
toString() |
static UNIT |
toUnit(java.lang.String s)
method for compatibility with CASSIS 2.9 version
|
static UNIT |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UNIT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UNIT UNKNOWN
public static final UNIT THZ
public static final UNIT GHZ
public static final UNIT MHZ
public static final UNIT KHZ
public static final UNIT HZ
public static final UNIT KM_SEC_MOINS_1
public static final UNIT ANGSTROM
public static final UNIT NANO_METER
public static final UNIT MICRO_METER
public static final UNIT MM
public static final UNIT CM
public static final UNIT METER
public static final UNIT EV
public static final UNIT KEV
public static final UNIT MEV
public static final UNIT TEV
public static final UNIT PEV
public static final UNIT CM_MINUS_1
public static final UNIT JANSKY
public static final UNIT M_JANSKY
public static final UNIT KELVIN
public static final UNIT M_KELVIN
public static UNIT[] values()
for (UNIT c : UNIT.values()) System.out.println(c);
public static UNIT 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 final java.lang.String getValString()
public java.lang.Double getCoeff()
public java.lang.String toString()
toString in class java.lang.Enum<UNIT>public static UNIT[] getXBandUnit()
public static UNIT[] getXValUnit()
public static UNIT toUnit(java.lang.String s)
s - public static boolean isWaveLengthOrVelocity(UNIT theUnit)