

Public Member Functions | |
| SourcePanel () throws Exception | |
| void | actionPerformed (ActionEvent e) |
Static Public Member Functions | |
| static void | main (String[] args) |
Private Member Functions | |
| void | initializeGUI () |
| void | initializeACS () throws Exception |
Private Attributes | |
| SourceClient | sourceClient |
| AdvancedComponentClient | acsClient |
| Logger | logger |
| ContainerServices | contSvcs |
| SourceTable | table = new SourceTable() |
| final JButton | clearButton = new JButton("Clear") |
| final JToolBar | toolBar = new JToolBar(JToolBar.HORIZONTAL) |
| final JToggleButton | compactTB = new JToggleButton("Compact",false) |
A very simple panel showing alarms published in the source channel.
This panel shows the alarms published by sources in the notification channel. These are the same alarms the alarm service listens to. Alarms published in the source NC can be considered as RAW alarms because they do not contain any info for operators (that is added by the alarm service component and published in the category NCs). This panel can be very useful for debugging purposes when the intention of the developer is to check the generation of the alarms.
This GUI is not intended for operators because the information it provides is not complete. Operators shall use the alarmPanel instead.
| alma::acs::alarm::source::gui::SourcePanel::SourcePanel | ( | ) | throws Exception [inline] |
Constructor
References alma::alarmsystem::clients::SourceClient::addAlarmListener(), alma::alarmsystem::clients::SourceClient::connect(), initializeACS(), initializeGUI(), sourceClient, and table.
Referenced by main().
| void alma::acs::alarm::source::gui::SourcePanel::actionPerformed | ( | ActionEvent | e | ) | [inline] |
| void alma::acs::alarm::source::gui::SourcePanel::initializeACS | ( | ) | throws Exception [inline, private] |
Connect to ACS and to the source NC
References acsClient, contSvcs, alma::acs::component::client::ComponentClient::getContainerServices(), logger, and sourceClient.
Referenced by SourcePanel().
| void alma::acs::alarm::source::gui::SourcePanel::initializeGUI | ( | ) | [inline, private] |
| static void alma::acs::alarm::source::gui::SourcePanel::main | ( | String[] | args | ) | [inline, static] |
| args |
References SourcePanel().
ACS component client
Referenced by initializeACS().
final JButton alma::acs::alarm::source::gui::SourcePanel::clearButton = new JButton("Clear") [private] |
The button to clear the table
Referenced by actionPerformed(), and initializeGUI().
final JToggleButton alma::acs::alarm::source::gui::SourcePanel::compactTB = new JToggleButton("Compact",false) [private] |
The button to show a compact view of the table
Referenced by actionPerformed(), and initializeGUI().
ContainerServices
Referenced by initializeACS().
Logger alma::acs::alarm::source::gui::SourcePanel::logger [private] |
The logger
Referenced by initializeACS().
The client to listen to alarms from the source channel
Referenced by initializeACS(), and SourcePanel().
SourceTable alma::acs::alarm::source::gui::SourcePanel::table = new SourceTable() [private] |
The table of alarms
Referenced by actionPerformed(), initializeGUI(), and SourcePanel().
final JToolBar alma::acs::alarm::source::gui::SourcePanel::toolBar = new JToolBar(JToolBar.HORIZONTAL) [private] |
Referenced by initializeGUI().
1.6.2