|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<AntennaWrap> edu.nrao.sss.model.project.scan.AntennaWrap
public enum AntennaWrap
A representation of the "wrapping" of an antenna.
As an example, the VLA antennas can rotate 540 degrees in azimuth. An observer can request that an observation be set up so that it has the least likelihood to run into one of the stops. The observer does this by specifying that the wrap be either clockwise or counterclockwise.
CVS Info:
$Revision: 161 $ |
$Date: 2006-12-15 11:48:34 -0700 (Fri, 15 Dec 2006) $ |
$Author: btruitt $ |
Enum Constant Summary | |
---|---|
CLOCKWISE
|
|
COUNTERCLOCKWISE
|
|
NO_PREFERENCE
|
Method Summary | |
---|---|
static AntennaWrap |
fromString(String text)
Returns the antenna wrap represented by text . |
static AntennaWrap |
getDefault()
Returns a default antenna wrap. |
String |
toString()
Returns a text representation of this enumeration constant. |
static AntennaWrap |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AntennaWrap[] |
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 |
---|
public static final AntennaWrap CLOCKWISE
public static final AntennaWrap COUNTERCLOCKWISE
public static final AntennaWrap NO_PREFERENCE
Method Detail |
---|
public static AntennaWrap[] values()
for (AntennaWrap c : AntennaWrap.values()) System.out.println(c);
public static AntennaWrap valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static AntennaWrap getDefault()
public String toString()
toString
in class Enum<AntennaWrap>
public static AntennaWrap fromString(String text)
text
.
For details about the transformation, see
EnumerationUtility.enumFromString(Class, String)
.
text
- a text representation of an antenna wrap.
text
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |