|
WIDAR Classes | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CrmCommon.Baseband>
ca.nrc.widar.mccc.crm.CrmCommon.Baseband
public static enum CrmCommon.Baseband
Baseband Enum This enumeration encodes the various peculiarities of the different Baseband modes that are used to communicate the system status to the user via the GUI
Enum Constant Summary | |
---|---|
BB0
|
|
BB1
|
|
BB2
|
|
BB3
|
|
blank
|
|
hi
|
|
warn
|
Method Summary | |
---|---|
java.awt.Color |
border()
Return the color to be used for the border of this Baseband type |
static CrmCommon.Baseband |
get(int id)
Supplied with an integer value, this method returns the associated enum value |
java.lang.String |
getBand(java.lang.Integer nBits,
java.lang.Integer dp)
Determines and returns the Baseband ID string to be used in identifying this Baseband type in the mode that is specified |
int |
getID()
Returns the integer representation of the enum value |
java.lang.String |
getLabel(java.lang.Integer nBits,
java.lang.Integer dp)
Determines and returns the Baseband ID label to be used in the BBInfo objects on the GUI in the mode that is specified |
java.lang.String |
getPol(java.lang.Integer nBits,
java.lang.Integer dp)
Determines and returns the polarization string to be used for this Baseband type in the mode that is specified |
java.awt.Color |
in()
Return the color to be used for input modes of this Baseband type |
java.awt.Color |
out()
Return the color to be used for output modes of this Baseband type |
java.lang.String |
title()
Return the title of this Baseband type |
static CrmCommon.Baseband |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CrmCommon.Baseband[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CrmCommon.Baseband blank
public static final CrmCommon.Baseband hi
public static final CrmCommon.Baseband warn
public static final CrmCommon.Baseband BB0
public static final CrmCommon.Baseband BB1
public static final CrmCommon.Baseband BB2
public static final CrmCommon.Baseband BB3
Method Detail |
---|
public static CrmCommon.Baseband[] values()
for (CrmCommon.Baseband c : CrmCommon.Baseband.values()) System.out.println(c);
public static CrmCommon.Baseband valueOf(java.lang.String name)
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.
public java.lang.String title()
public java.awt.Color in()
public java.awt.Color out()
public java.awt.Color border()
public java.lang.String getPol(java.lang.Integer nBits, java.lang.Integer dp)
nBits
- The integer number of bitsdp
- The integer representing the data path (0 or 1)
public java.lang.String getBand(java.lang.Integer nBits, java.lang.Integer dp)
nBits
- The integer number of bitsdp
- The integer representing the data path (0 or 1)
public java.lang.String getLabel(java.lang.Integer nBits, java.lang.Integer dp)
nBits
- The integer number of bitsdp
- The integer representing the data path (0 or 1)
public int getID()
public static CrmCommon.Baseband get(int id)
id
- The integer value
|
NRAO/DRAO | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |