alma::acs::logtools::monitor::gui::TotalStatisticsPnl Class Reference

Inheritance diagram for alma::acs::logtools::monitor::gui::TotalStatisticsPnl:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::logtools::monitor::gui::TotalStatisticsPnl:
Collaboration graph
[legend]

List of all members.

Classes

class  MyStatsData

Public Member Functions

 TotalStatisticsPnl ()
void updateStats (TotalStatsData newData)

Private Member Functions

void initialize ()

Private Attributes

final MyStatsData data = new MyStatsData()
final JLabel timestampLbl = new JLabel("Not updated yet!")
final JLabel totNumOfLogsLbl = new JLabel("0")
final JLabel totParsingErrsLbl = new JLabel("0")
final JLabel shortestLogLbl = new JLabel("0")
final JLabel longestLogLbl = new JLabel("0")
final JLabel[] totLogTypes = new JLabel[LogTypeHelper.values().length]

Detailed Description

Shows the statistics of the total number of logs and so on

Author:
acaproni
Since:
ACS 8.1.0

Constructor & Destructor Documentation

alma::acs::logtools::monitor::gui::TotalStatisticsPnl::TotalStatisticsPnl (  )  [inline]

Constructor

References initialize().


Member Function Documentation

void alma::acs::logtools::monitor::gui::TotalStatisticsPnl::initialize (  )  [inline, private]
void alma::acs::logtools::monitor::gui::TotalStatisticsPnl::updateStats ( TotalStatsData  newData  )  [inline]

Update the values displayed in the panel

Parameters:
newData New statistics

References data, timestampLbl, and alma::acs::logtools::monitor::TotalStatsData::updateAll().

Referenced by alma::acs::logtools::monitor::gui::LogMonitorFrame::totalData().


Member Data Documentation

The data to display in the panel

Referenced by updateStats().

final JLabel alma::acs::logtools::monitor::gui::TotalStatisticsPnl::timestampLbl = new JLabel("Not updated yet!") [private]

The time stamp of the last update

Referenced by initialize(), and updateStats().

final JLabel [] alma::acs::logtools::monitor::gui::TotalStatisticsPnl::totLogTypes = new JLabel[LogTypeHelper.values().length] [private]

The labels for the value of each log type

Referenced by initialize(), and alma::acs::logtools::monitor::gui::TotalStatisticsPnl::MyStatsData::updateTotalLogs().

The total number of errors parsing XML logs

Referenced by initialize(), and alma::acs::logtools::monitor::gui::TotalStatisticsPnl::MyStatsData::updateErrors().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2