All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JObserve.VLA.CorrelatorModeF

java.lang.Object
   |
   +----JObserve.FieldLink
           |
           +----JObserve.Field
                   |
                   +----JObserve.VLA.CorrelatorModeF

public final class CorrelatorModeF
extends Field
Field definition for CorrelatorModeF class Correlator mode (4 characters) Defines structures and member functions for the manipulation, display and editing of scan information. Expects the Scan members of this type to be named CorrelatorMode.


Variable Index

 o CorrelatorModeCodes
Correlator Mode code table
 o CorrelatorModeText
Correlator Mode description table
 o Value
Data

Method Index

 o CheckValidIntegrationTime(VLAScan)
Check Integration time Gives an error message if the integration time/number of channels violates the allowed VLA data rate.
 o FullName()
Return full name of mode
 o GiveValue()
Write value to string(s) Only returns a value if an Explicit value is present.
 o ParseValue(String, int, boolean)
Read value from string Set value to input string.
 o SetDefault(Scan, Scan)
Set defaults Fill in defaults if not explicit in Current but is in Default.
 o toString()
Write value to string

Variables

 o Value
 public String Value
Data

 o CorrelatorModeCodes
 public static final String CorrelatorModeCodes[]
Correlator Mode code table

 o CorrelatorModeText
 public static final String CorrelatorModeText[]
Correlator Mode description table

Methods

 o SetDefault
 public void SetDefault(Scan scan,
                        Scan def)
Set defaults Fill in defaults if not explicit in Current but is in Default.

Parameters:
Scan - of this this field is a member.
Scan - to get defaults from.
Overrides:
SetDefault in class FieldLink
 o CheckValidIntegrationTime
 public void CheckValidIntegrationTime(VLAScan Current)
Check Integration time Gives an error message if the integration time/number of channels violates the allowed VLA data rate. I (WDC) don't think this actually works but it's what the c version did.

Parameters:
- VLAScan The scan with the Integration time to check
 o FullName
 public String FullName()
Return full name of mode

Returns:
String The full name of the mode, e.g. " Continuum "
 o ParseValue
 public void ParseValue(String Value,
                        int Index,
                        boolean Constant)
Read value from string Set value to input string.

Parameters:
String - Value string
index - Index (not used)
boolean - true if a constant value
Overrides:
ParseValue in class FieldLink
 o GiveValue
 public String[] GiveValue()
Write value to string(s) Only returns a value if an Explicit value is present. Format: Name(index)* Value<\br> Where (index) is present if the value is an array (not the case for Field), and the "*" indicates a constant (not editable) value

Returns:
String one entry per Value array element; null if no explicit value.
Overrides:
GiveValue in class FieldLink
 o toString
 public String toString()
Write value to string

Returns:
String String representation
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index