

Public Member Functions | |
| TrendPnl () | |
| void | close () |
| void | addTrace (int[] nums, int secs) |
Private Member Functions | |
| void | initialize () |
Private Attributes | |
| final Chart2D | chart = new Chart2D() |
| final ITrace2D[] | logTraces = new ITrace2D[LogTypeHelper.values().length] |
| double | x = 0 |
Static Private Attributes | |
| static final int | pointsPerTrace = 3000 |
| alma::acs::logtools::monitor::gui::TrendPnl::TrendPnl | ( | ) | [inline] |
Constructor
References initialize().
| void alma::acs::logtools::monitor::gui::TrendPnl::addTrace | ( | int[] | nums, | |
| int | secs | |||
| ) | [inline] |
Add the new logs number to the traces of the chart
| nums | Number of logs per type | |
| secs | Interval in seconds |
Referenced by alma::acs::logtools::monitor::gui::LogMonitorFrame::recvLogs().
| void alma::acs::logtools::monitor::gui::TrendPnl::close | ( | ) | [inline] |
Destroy the chart and free the resources
References chart.
Referenced by alma::acs::logtools::monitor::gui::LogMonitorFrame::close().
| void alma::acs::logtools::monitor::gui::TrendPnl::initialize | ( | ) | [inline, private] |
final Chart2D alma::acs::logtools::monitor::gui::TrendPnl::chart = new Chart2D() [private] |
The chart displayed in the panel
Referenced by close(), and initialize().
final ITrace2D [] alma::acs::logtools::monitor::gui::TrendPnl::logTraces = new ITrace2D[LogTypeHelper.values().length] [private] |
The trace to display in the chart (one for each log type)
Referenced by addTrace(), and initialize().
final int alma::acs::logtools::monitor::gui::TrendPnl::pointsPerTrace = 3000 [static, private] |
The number of points per trace.
Referenced by initialize().
double alma::acs::logtools::monitor::gui::TrendPnl::x = 0 [private] |
The X-coordinate to add the next point
Referenced by addTrace().
1.6.2