Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

com::cosylab::logging::stats::StatsDlg Class Reference

Collaboration diagram for com::cosylab::logging::stats::StatsDlg:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Shows statistics from loaded logs

Author:
acaproni


Constructor & Destructor Documentation

com::cosylab::logging::stats::StatsDlg::StatsDlg LoggingClient  mainWin  )  [inline]
 

Builds and show the dialog

Parameters:
logCache 


Member Function Documentation

void com::cosylab::logging::stats::StatsDlg::actionPerformed ActionEvent  e  )  [inline]
 

See also:
ActionListener<?code>

void com::cosylab::logging::stats::StatsDlg::enableMonitoring boolean  start  )  [inline, private]
 

Start or stop the monitoring

Parameters:
start If true start monitoring

void com::cosylab::logging::stats::StatsDlg::initialize  )  [inline, private]
 

Setup the GUI

void com::cosylab::logging::stats::StatsDlg::refreshGUI  )  [inline, private]
 

Refresh the values shown in the GUI

A class to refresh the labels of the dialog The thread is executed inside the swing thread

Author:
acaproni

Override void com::cosylab::logging::stats::StatsDlg::setVisible boolean  visible  )  [inline]
 

Override setVisible() to move the statistic window over the logging client and in front of other windows


Member Data Documentation

JLabel com::cosylab::logging::stats::StatsDlg::availMemLbl = new JLabel("N/A") [private]
 

JButton com::cosylab::logging::stats::StatsDlg::closeBtn = new JButton("Close") [private]
 

JLabel com::cosylab::logging::stats::StatsDlg::hiddenLogsLbl = new JLabel("N/A") [private]
 

JLabel com::cosylab::logging::stats::StatsDlg::inRateLbl = new JLabel("N/A") [private]
 

LoggingClient com::cosylab::logging::stats::StatsDlg::logging [private]
 

JButton com::cosylab::logging::stats::StatsDlg::monitorBtn = new JButton("Start monitoring") [private]
 

final int com::cosylab::logging::stats::StatsDlg::MONITORING_INTERVAL = 1000 [private]
 

The interval (msec) between iterations while monitoring

JLabel com::cosylab::logging::stats::StatsDlg::outRateLbl = new JLabel("N/A") [private]
 

JButton com::cosylab::logging::stats::StatsDlg::refreshBtn = new JButton("Refresh") [private]
 

JLabel com::cosylab::logging::stats::StatsDlg::timeFrameLbl = new JLabel("N/A") [private]
 

Timer com::cosylab::logging::stats::StatsDlg::timer = null [private]
 

The timer for monitoring

JLabel com::cosylab::logging::stats::StatsDlg::totNumOfLogsLbl = new JLabel("N/A") [private]
 

JLabel com::cosylab::logging::stats::StatsDlg::usedMemLbl = new JLabel("N/A") [private]
 

JLabel com::cosylab::logging::stats::StatsDlg::visibleLogsLbl = new JLabel("N/A") [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:13:18 2009 for ACS Java API by doxygen 1.3.8