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;
-
helpFile
- Help navigation file name
-
helpHtml
- Help html directory base
-
myDirectory
- JObserve file directory name
-
myPanel
- the currently displayed panel
-
Obs
- Observation schedule and other lists.
-
topDog
- Another hack, There can be only one top level Observe Window and
this is it.
-
VersionId
- Version identification string
-
AddComponent(Component, int, int, int, int, int, int, double, double)
- Add component to frame
-
GetStatusText()
- Get Status text
-
GetStatusWarn()
- Get Status warning level
-
main(String[])
-
When this is run as an application (always?):
-
SetStatus(String)
- Set Status line
Colors set for informative message
-
SetStatus(String, int)
- Set Status line, with warning level
Colors are used in the display to differentiate between different levels
-
ShowPanel(ObservePanel)
- Display a panel
-
xpaint(Graphics)
-
Paint function
this function may no longer be needed (it was paint).
VersionId
public static final String VersionId
- Version identification string
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.
topDog
public static Observe topDog
- Another hack, There can be only one top level Observe Window and
this is it.
myPanel
public ObservePanel myPanel
- the currently displayed panel
helpFile
public String helpFile
- Help navigation file name
helpHtml
public String helpHtml
- Help html directory base
myDirectory
public String myDirectory
- JObserve file directory name
main
public static void main(String args[])
- When this is run as an application (always?):
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.
SetStatus
public void SetStatus(String line)
- Set Status line
Colors set for informative message
- Parameters:
-
String
- The new message
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
GetStatusText
public String GetStatusText()
- Get Status text
- Returns:
-
String
The current message
GetStatusWarn
public int GetStatusWarn()
- Get Status warning level
- Returns:
-
int
message level defined in JObserve.GUI.StatusLabel
xpaint
public void xpaint(Graphics g)
- Paint function
this function may no longer be needed (it was paint).
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