cern::laser::guiplatform::windows::AlarmStatisticInfoPanel Class Reference

Inheritance diagram for cern::laser::guiplatform::windows::AlarmStatisticInfoPanel:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::guiplatform::windows::AlarmStatisticInfoPanel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AlarmStatisticInfoPanel (String configurationName, Behaviour behaviour, boolean isReductionMaskSet)
void updatePanel (String configurationName, Behaviour behaviour, boolean isReductionMaskeSet)
void moveAlarmNumber (final int fromCounterType, final int toCounterType)
void update (final int counterType, final long alarmNo)
void increaseCounter (final int counterType)
void decreaseCounter (final int counterType)
void onException (java.lang.String exceptionCode)

Private Member Functions

void initComponents ()
void postInitComponents (String configurationName, Behaviour behaviour, boolean isReductionMaskeSet)

Private Attributes

javax.swing.JLabel activeAlarmLabel
javax.swing.JLabel activeCounterLabel
javax.swing.JPanel alarmStatPanel
javax.swing.JLabel autoTerminateLabel
javax.swing.JLabel autoTerminteValueLabel
javax.swing.JLabel confNameValueLabel
javax.swing.JLabel configurationNameLabel
javax.swing.JPanel consoleInfoPanel
javax.swing.JLabel distingiushAlarmValueLabel
javax.swing.JLabel distinguishNewAlarmLabel
javax.swing.JPanel iconPanel
javax.swing.JLabel inhibitedAlarmLabel
javax.swing.JLabel inhibitedCounterLabel
javax.swing.JPanel labelsPanel
javax.swing.JLabel maskedAlarmLabel
javax.swing.JLabel maskedCounterLabel
javax.swing.JLabel networkIconLabel
javax.swing.JLabel reducedMaskeValueLabel
javax.swing.JLabel reducedMaskedLabel
long[] alarmNumbers = null
javax.swing.JLabel[] labels = null

Static Private Attributes

static final String CONNECTION_OK = "Connection OK"
static final String CONNECTION_NOT_OK = "Connection unavailable"
static final String CONNECTION_NOT_OK_HB = "No heartbeat"
static Logger logger

Detailed Description

Author:
pawlowsk

Constructor & Destructor Documentation

cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::AlarmStatisticInfoPanel ( String  configurationName,
Behaviour  behaviour,
boolean  isReductionMaskSet 
) [inline]

Member Function Documentation

void cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::decreaseCounter ( final int  counterType  )  [inline]
void cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::increaseCounter ( final int  counterType  )  [inline]
void cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::initComponents (  )  [inline, private]

This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.

References activeAlarmLabel, activeCounterLabel, alarmStatPanel, autoTerminateLabel, autoTerminteValueLabel, configurationNameLabel, confNameValueLabel, consoleInfoPanel, distingiushAlarmValueLabel, distinguishNewAlarmLabel, iconPanel, inhibitedAlarmLabel, inhibitedCounterLabel, labelsPanel, maskedAlarmLabel, maskedCounterLabel, networkIconLabel, reducedMaskedLabel, and reducedMaskeValueLabel.

Referenced by AlarmStatisticInfoPanel().

void cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::moveAlarmNumber ( final int  fromCounterType,
final int  toCounterType 
) [inline]

This method subtracts 1 from fromCounterType and adds 1 to toCounterType

Parameters:
fromCounterType i. e. AlarmNumberChangeListener.ACTIVE_ALARM_COUNTER
toCounterType i. e. AlarmNumberChangeListener.ACTIVE_ALARM_COUNTER

Implements cern::laser::guiplatform::alarms::AlarmsNumberChangeListener.

References alarmNumbers, cern::laser::guiplatform::alarms::AlarmsNumberChangeListener::ALL_LIST_NUMBER, and labels.

void cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::onException ( java.lang.String  exceptionCode  )  [inline]
void cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::postInitComponents ( String  configurationName,
Behaviour  behaviour,
boolean  isReductionMaskeSet 
) [inline, private]
Parameters:
configurationName currently used configuration name
behaviour,which is displayed on this panel
isReductionMaskeSet 

References autoTerminteValueLabel, confNameValueLabel, distingiushAlarmValueLabel, cern::laser::console::Behaviour::isAlarmAutoTerminated(), cern::laser::console::Behaviour::isAlarmDistinguished(), and reducedMaskeValueLabel.

Referenced by AlarmStatisticInfoPanel(), and updatePanel().

void cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::update ( final int  counterType,
final long  alarmNo 
) [inline]
void cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::updatePanel ( String  configurationName,
Behaviour  behaviour,
boolean  isReductionMaskeSet 
) [inline]

References postInitComponents().


Member Data Documentation

Referenced by initComponents().

Referenced by initComponents().

Referenced by initComponents().

Referenced by initComponents().

final String cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::CONNECTION_NOT_OK = "Connection unavailable" [static, private]

Referenced by onException().

Referenced by onException().

final String cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::CONNECTION_OK = "Connection OK" [static, private]

Referenced by onException().

Referenced by initComponents().

Referenced by initComponents().

Referenced by initComponents().

Referenced by initComponents().

behaviour which is displayed on this panel

Referenced by AlarmStatisticInfoPanel(), and moveAlarmNumber().

Referenced by initComponents().

Initial value:
 LogFactory
                        .getLogger(AlarmStatisticInfoPanel.class.getName())

logger

Referenced by onException(), and update().

Referenced by initComponents().

Referenced by initComponents(), and onException().

Referenced by initComponents().


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

Generated by  doxygen 1.6.2