
Public Member Functions | |
| StatsDlg (LoggingClient mainWin) | |
| Override void | setVisible (boolean visible) |
| void | actionPerformed (ActionEvent e) |
Private Member Functions | |
| void | initialize () |
| void | refreshGUI () |
| void | enableMonitoring (boolean start) |
Private Attributes | |
| final int | MONITORING_INTERVAL = 1000 |
| JLabel | totNumOfLogsLbl = new JLabel("N/A") |
| JLabel | visibleLogsLbl = new JLabel("N/A") |
| JLabel | hiddenLogsLbl = new JLabel("N/A") |
| JLabel | availMemLbl = new JLabel("N/A") |
| JLabel | usedMemLbl = new JLabel("N/A") |
| JLabel | timeFrameLbl = new JLabel("N/A") |
| JLabel | inRateLbl = new JLabel("N/A") |
| JLabel | outRateLbl = new JLabel("N/A") |
| JButton | closeBtn = new JButton("Close") |
| JButton | refreshBtn = new JButton("Refresh") |
| JButton | monitorBtn = new JButton("Start monitoring") |
| LoggingClient | logging |
| Timer | timer = null |
|
|
Builds and show the dialog
|
|
|
|
|
|
Start or stop the monitoring
|
|
|
Setup the GUI |
|
|
Refresh the values shown in the GUI A class to refresh the labels of the dialog The thread is executed inside the swing thread
|
|
|
Override |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The interval (msec) between iterations while monitoring |
|
|
|
|
|
|
|
|
|
|
|
The timer for monitoring |
|
|
|
|
|
|
|
|
|
1.3.8