

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] |
Shows the statistics of the total number of logs and so on
| alma::acs::logtools::monitor::gui::TotalStatisticsPnl::TotalStatisticsPnl | ( | ) | [inline] |
Constructor
References initialize().
| void alma::acs::logtools::monitor::gui::TotalStatisticsPnl::initialize | ( | ) | [inline, private] |
Init the GUI
References longestLogLbl, shortestLogLbl, timestampLbl, totLogTypes, totNumOfLogsLbl, and totParsingErrsLbl.
Referenced by TotalStatisticsPnl().
| void alma::acs::logtools::monitor::gui::TotalStatisticsPnl::updateStats | ( | TotalStatsData | newData | ) | [inline] |
Update the values displayed in the panel
| newData | New statistics |
References data, timestampLbl, and alma::acs::logtools::monitor::TotalStatsData::updateAll().
Referenced by alma::acs::logtools::monitor::gui::LogMonitorFrame::totalData().
final MyStatsData alma::acs::logtools::monitor::gui::TotalStatisticsPnl::data = new MyStatsData() [private] |
The data to display in the panel
Referenced by updateStats().
final JLabel alma::acs::logtools::monitor::gui::TotalStatisticsPnl::longestLogLbl = new JLabel("0") [private] |
The size of the longest log
Referenced by initialize(), and alma::acs::logtools::monitor::gui::TotalStatisticsPnl::MyStatsData::updateSizes().
final JLabel alma::acs::logtools::monitor::gui::TotalStatisticsPnl::shortestLogLbl = new JLabel("0") [private] |
The size of the shortest log
Referenced by initialize(), and alma::acs::logtools::monitor::gui::TotalStatisticsPnl::MyStatsData::updateSizes().
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().
final JLabel alma::acs::logtools::monitor::gui::TotalStatisticsPnl::totNumOfLogsLbl = new JLabel("0") [private] |
The total number of logs
Referenced by initialize(), and alma::acs::logtools::monitor::gui::TotalStatisticsPnl::MyStatsData::updateTotalLogs().
final JLabel alma::acs::logtools::monitor::gui::TotalStatisticsPnl::totParsingErrsLbl = new JLabel("0") [private] |
The total number of errors parsing XML logs
Referenced by initialize(), and alma::acs::logtools::monitor::gui::TotalStatisticsPnl::MyStatsData::updateErrors().
1.6.2