All Packages Class Hierarchy This Package Previous Next Index
Class JObserve.VLA.GUI.VLASourcePage
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----JObserve.GUI.ObservePanel
|
+----JObserve.VLA.GUI.VLAEditPanel
|
+----JObserve.VLA.GUI.VLASourcePage
- public class VLASourcePage
- extends VLAEditPanel
VLA Source editing Panel
-
VLASourcePage(VLAScan, VLAScan, String)
- Source editing panel constructor
-
changeBands(VLAScan)
- Make changes to a scan required by a BandCode change.
-
checkFreq(VLAScan)
- Check frequencies and give status line if found
-
fromScan(VLAScan)
- Set panel values from a specified Scan
-
setupFreq(VLAScan)
- Compute unset defaults and set Frequencies.
-
toScan(VLAScan)
- Copy panel values to specified Scan
-
unsetFreq(VLAScan)
- unset frequency related except for BandCode
VLASourcePage
public VLASourcePage(VLAScan scan,
VLAScan old,
String slabel)
- Source editing panel constructor
- Parameters:
-
VLAScan
- Scan to edit
-
VLAScan
- Original copy of Scan
-
String
- Label for the scan to be edited
fromScan
public void fromScan(VLAScan theScan)
- Set panel values from a specified Scan
- Parameters:
-
Scan
- the scan to use
- Overrides:
- fromScan in class VLAEditPanel
toScan
public void toScan(VLAScan theScan)
- Copy panel values to specified Scan
- Parameters:
-
Scan
- the scan to use
- Overrides:
- toScan in class VLAEditPanel
unsetFreq
public static void unsetFreq(VLAScan theScan)
- unset frequency related except for BandCode
- Parameters:
-
VLAScan
- the Scan whose band has changed
changeBands
public static void changeBands(VLAScan theScan)
- Make changes to a scan required by a BandCode change.
The new BandCodes should be in the scan,
The any User or NRAO defaults appropriate are applied.
The default names are derived from the A and C IF BandCodes,
should such exist.
Also unsets Frequency related items in the scan.
- Parameters:
-
VLAScan
- the Scan whose band has changed
setupFreq
public static void setupFreq(VLAScan theScan)
- Compute unset defaults and set Frequencies.
- Parameters:
-
VLAScan
- the Scan to update
checkFreq
public static boolean checkFreq(VLAScan theScan)
- Check frequencies and give status line if found
- Parameters:
-
VLAScan
- the Scan to update
- Returns:
-
boolean
true iff a problem found
All Packages Class Hierarchy This Package Previous Next Index