alma::acs::alarm::source::gui::SourcePanel Class Reference

Inheritance diagram for alma::acs::alarm::source::gui::SourcePanel:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::alarm::source::gui::SourcePanel:
Collaboration graph
[legend]

List of all members.

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)

Detailed Description

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.

Author:
acaproni
Since:
ACS7.0

Constructor & Destructor Documentation

alma::acs::alarm::source::gui::SourcePanel::SourcePanel (  )  throws Exception [inline]

Member Function Documentation

void alma::acs::alarm::source::gui::SourcePanel::actionPerformed ( ActionEvent  e  )  [inline]
void alma::acs::alarm::source::gui::SourcePanel::initializeACS (  )  throws Exception [inline, private]
void alma::acs::alarm::source::gui::SourcePanel::initializeGUI (  )  [inline, private]

Init the GUI

References clearButton, compactTB, table, and toolBar.

Referenced by SourcePanel().

static void alma::acs::alarm::source::gui::SourcePanel::main ( String[]  args  )  [inline, static]
Parameters:
args 

References SourcePanel().


Member Data Documentation

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().

The logger

Referenced by initializeACS().

The client to listen to alarms from the source channel

Referenced by initializeACS(), and SourcePanel().

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().


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

Generated by  doxygen 1.6.2