|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.event.WindowAdapter | +--rcUserInterface.rcPrstMonitor
Class to give a snapshot of all components of a process stage. It is invoked when pressing a process stage button on the top level gui rcGui. It is implements a dtMonitor, which means that is can be loaded dynamically, creates the desired windows, which it subsequently updates in periodic intervals.
For example for the DCM stage it could look like this:
Internally it has a rcPuButtonGridPanel, a special instance of the dtButtonGridPanel from the package dtools.
Field Summary | |
(package private) boolean |
bDebug
Prints info to System.out if true. |
(package private) boolean |
bWindowAttached
True if we have a window attached. |
private rcCmd |
theCommand
The run control command to retrieve the info from the run control server |
private javax.swing.JFrame |
theFrame
Parent frame |
private rcPuButtonGridPanel |
thePanel
The button grid panel, where we display the process units. |
private java.lang.String |
theStageName
Name of the stage that is displayed here. |
Constructor Summary | |
rcPrstMonitor()
|
Method Summary | |
boolean |
active()
Retrurns true as long as the window is open and we have to display the information. |
int |
create(java.lang.String[] theArgs)
Creates the window. |
static void |
main(java.lang.String[] theArgs)
Main method for debugging in standalone mode. |
void |
update()
Update method. |
void |
windowClosing(java.awt.event.WindowEvent ev)
Callback for a closing window. |
Methods inherited from class java.awt.event.WindowAdapter |
windowActivated,
windowClosed,
windowDeactivated,
windowDeiconified,
windowIconified,
windowOpened |
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.lang.String theStageName
private rcCmd theCommand
private javax.swing.JFrame theFrame
private rcPuButtonGridPanel thePanel
boolean bDebug
boolean bWindowAttached
Constructor Detail |
public rcPrstMonitor()
Method Detail |
public void windowClosing(java.awt.event.WindowEvent ev)
public boolean active()
public int create(java.lang.String[] theArgs)
public void update()
public static void main(java.lang.String[] theArgs)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |