All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JObserve.VLA.ChannelCountF

java.lang.Object
   |
   +----JObserve.FieldLink
           |
           +----JObserve.Field4
                   |
                   +----JObserve.VLA.ChannelCountF

public final class ChannelCountF
extends Field4
Field definition for ChannelCountF class. 1 element per IF (3 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 ChannelCount.


Variable Index

 o ChannelCountCodes
Array of valid ChannelCount Codes
 o ChannelCountTable
Array of numbers of channels forChannelCount Codes
 o ChannelCountValue
 o Value
Data

Method Index

 o FullName(int)
Return full name of mode (the number of actual channels)
 o GiveValue()
Write value to string(s) Only returns a value if Explicit values are 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 ChannelCountCodes
 public static final String ChannelCountCodes[]
Array of valid ChannelCount Codes

 o ChannelCountTable
 public static final String ChannelCountTable[]
Array of numbers of channels forChannelCount Codes

 o ChannelCountValue
 public static final int ChannelCountValue[]

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 FullName
 public String FullName(int IF)
Return full name of mode (the number of actual channels)

Parameters:
int<\code> - which IF [0-3] i.e. A-D
Returns:
String The full name of the mode, e.g. "bandpass normalize "
 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 for Value
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 Explicit values are present. Format: Name(index)* Value<\br> Where (index) is present if the value is an array (true for Field4), and the "*" indicates a constant (not editable) value

Returns:
String one entry per Value array element; null if no explicit value. A null array entry indicates no explicit value for that entru
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