All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JObserve.Observe

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----JObserve.Observe

public class Observe
extends Frame
Observing schedule editor for the Very large Array(VLA)

Translated from the C version circa 1998

See Also:
ObserveMenuBar;

Variable Index

 o helpFile
Help navigation file name
 o helpHtml
Help html directory base
 o myDirectory
JObserve file directory name
 o myPanel
the currently displayed panel
 o Obs
Observation schedule and other lists.
 o topDog
Another hack, There can be only one top level Observe Window and this is it.
 o VersionId
Version identification string

Method Index

 o AddComponent(Component, int, int, int, int, int, int, double, double)
Add component to frame
 o GetStatusText()
Get Status text
 o GetStatusWarn()
Get Status warning level
 o main(String[])
When this is run as an application (always?):
 o SetStatus(String)
Set Status line Colors set for informative message
 o SetStatus(String, int)
Set Status line, with warning level Colors are used in the display to differentiate between different levels
 o ShowPanel(ObservePanel)
Display a panel
 o xpaint(Graphics)
Paint function this function may no longer be needed (it was paint).

Variables

 o VersionId
 public static final String VersionId
Version identification string

 o Obs
 public static Observation Obs
Observation schedule and other lists. Horrible hack; make this publically visible this is the only way some low level routines can access necessary data. It is forced the the design of the C version of this program.

 o topDog
 public static Observe topDog
Another hack, There can be only one top level Observe Window and this is it.

 o myPanel
 public ObservePanel myPanel
the currently displayed panel

 o helpFile
 public String helpFile
Help navigation file name

 o helpHtml
 public String helpHtml
Help html directory base

 o myDirectory
 public String myDirectory
JObserve file directory name

Methods

 o main
 public static void main(String args[])
When this is run as an application (always?):

 o ShowPanel
 public void ShowPanel(ObservePanel thePanel)
Display a panel

Parameters:
ObservePanel - the new panel to display null means remove old panel but not replace it.
 o SetStatus
 public void SetStatus(String line)
Set Status line Colors set for informative message

Parameters:
String - The new message
 o SetStatus
 public void SetStatus(String line,
                       int level)
Set Status line, with warning level Colors are used in the display to differentiate between different levels

Parameters:
String - The new message
- message level defined in JObserve.GUI.StatusLabel
 o GetStatusText
 public String GetStatusText()
Get Status text

Returns:
String The current message
 o GetStatusWarn
 public int GetStatusWarn()
Get Status warning level

Returns:
int message level defined in JObserve.GUI.StatusLabel
 o xpaint
 public void xpaint(Graphics g)
Paint function this function may no longer be needed (it was paint).

 o AddComponent
 public void AddComponent(Component comp,
                          int x,
                          int y,
                          int gridwidth,
                          int gridheight,
                          int fill,
                          int anchor,
                          double weightx,
                          double weighty)
Add component to frame

Parameters:
Component - The component to add
int - The X (0-rel) cell number
int - The Y (0-rel) cell number
int - The number of cells in X
int - The number of cells in Y
int - The expansion code allowed
int - The anchor code
double - The X expansion weight
double - The Y expansion weight

All Packages  Class Hierarchy  This Package  Previous  Next  Index