

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 |
| cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::AlarmStatisticInfoPanel | ( | String | configurationName, | |
| Behaviour | behaviour, | |||
| boolean | isReductionMaskSet | |||
| ) | [inline] |
Creates new form AlarmStatisticInfoPanel
| configurationName | currently used configuration name | |
| behaviour,which | is displayed on this panel | |
| isReductionMaskeSet |
References cern::laser::guiplatform::alarms::AlarmsNumberChangeListener::ACTIVE_ALARM_COUNTER, activeCounterLabel, alarmNumbers, cern::laser::guiplatform::alarms::AlarmsNumberChangeListener::HIGHLIGHTED_ALARM_COUNTER, cern::laser::guiplatform::alarms::AlarmsNumberChangeListener::HIGHLIGHTED_AND_KLAXON_ALARM_COUNTER, cern::laser::guiplatform::alarms::AlarmsNumberChangeListener::INHIBITED_ALARM_COUNTER, inhibitedCounterLabel, initComponents(), cern::laser::guiplatform::alarms::AlarmsNumberChangeListener::INSTANT_ALARM_COUNTER, labels, cern::laser::guiplatform::alarms::AlarmsNumberChangeListener::MASKED_ALARM_COUNTER, maskedCounterLabel, and postInitComponents().
| void cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::decreaseCounter | ( | final int | counterType | ) | [inline] |
This method substracts 1 from counterType
| counterType | (i. e. AlarmNumberChangeListener.ACTIVE_ALARM_COUNTER) |
Implements cern::laser::guiplatform::alarms::AlarmsNumberChangeListener.
References cern::laser::guiplatform::alarms::AlarmsNumberChangeListener::ACTIVE_ALARM_COUNTER, activeCounterLabel, alarmNumbers, cern::laser::guiplatform::alarms::AlarmsNumberChangeListener::INHIBITED_ALARM_COUNTER, inhibitedCounterLabel, cern::laser::guiplatform::alarms::AlarmsNumberChangeListener::MASKED_ALARM_COUNTER, and maskedCounterLabel.
| void cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::increaseCounter | ( | final int | counterType | ) | [inline] |
This method add 1 to counterType
| counterType | (i. e. AlarmNumberChangeListener.ACTIVE_ALARM_COUNTER) |
Implements cern::laser::guiplatform::alarms::AlarmsNumberChangeListener.
References cern::laser::guiplatform::alarms::AlarmsNumberChangeListener::ACTIVE_ALARM_COUNTER, activeCounterLabel, alarmNumbers, cern::laser::guiplatform::alarms::AlarmsNumberChangeListener::INHIBITED_ALARM_COUNTER, inhibitedCounterLabel, cern::laser::guiplatform::alarms::AlarmsNumberChangeListener::MASKED_ALARM_COUNTER, and maskedCounterLabel.
| 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
| 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] |
References CONNECTION_NOT_OK, CONNECTION_NOT_OK_HB, CONNECTION_OK, cern::laser::client::LaserException::getRootCause(), logger, networkIconLabel, cern::laser::client::services::selection::AlarmSelectionHandler::resetSelection(), and cern::laser::client::services::selection::AlarmSelectionHandler::select().
| void cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::postInitComponents | ( | String | configurationName, | |
| Behaviour | behaviour, | |||
| boolean | isReductionMaskeSet | |||
| ) | [inline, private] |
| 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] |
This mehtod is used to update listener (i. e. when user wants to add this listener to AlarmContainer
| counterType | (i. e. AlarmNumberChangeListener.ACTIVE_ALARM_COUNTER) | |
| alarmNo | new alarm number |
Implements cern::laser::guiplatform::alarms::AlarmsNumberChangeListener.
References cern::laser::guiplatform::alarms::AlarmsNumberChangeListener::ACTIVE_ALARM_COUNTER, activeCounterLabel, alarmNumbers, cern::laser::guiplatform::alarms::AlarmsNumberChangeListener::INHIBITED_ALARM_COUNTER, inhibitedCounterLabel, logger, cern::laser::guiplatform::alarms::AlarmsNumberChangeListener::MASKED_ALARM_COUNTER, and maskedCounterLabel.
| void cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::updatePanel | ( | String | configurationName, | |
| Behaviour | behaviour, | |||
| boolean | isReductionMaskeSet | |||
| ) | [inline] |
References postInitComponents().
javax.swing.JLabel cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::activeAlarmLabel [private] |
Referenced by initComponents().
javax.swing.JLabel cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::activeCounterLabel [private] |
Referenced by AlarmStatisticInfoPanel(), decreaseCounter(), increaseCounter(), initComponents(), and update().
long [] cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::alarmNumbers = null [private] |
Referenced by AlarmStatisticInfoPanel(), decreaseCounter(), increaseCounter(), moveAlarmNumber(), and update().
javax.swing.JPanel cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::alarmStatPanel [private] |
Referenced by initComponents().
javax.swing.JLabel cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::autoTerminateLabel [private] |
Referenced by initComponents().
javax.swing.JLabel cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::autoTerminteValueLabel [private] |
Referenced by initComponents(), and postInitComponents().
javax.swing.JLabel cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::configurationNameLabel [private] |
Referenced by initComponents().
javax.swing.JLabel cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::confNameValueLabel [private] |
Referenced by initComponents(), and postInitComponents().
final String cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::CONNECTION_NOT_OK = "Connection unavailable" [static, private] |
Referenced by onException().
final String cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::CONNECTION_NOT_OK_HB = "No heartbeat" [static, private] |
Referenced by onException().
final String cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::CONNECTION_OK = "Connection OK" [static, private] |
Referenced by onException().
javax.swing.JPanel cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::consoleInfoPanel [private] |
Referenced by initComponents().
javax.swing.JLabel cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::distingiushAlarmValueLabel [private] |
Referenced by initComponents(), and postInitComponents().
javax.swing.JLabel cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::distinguishNewAlarmLabel [private] |
Referenced by initComponents().
javax.swing.JPanel cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::iconPanel [private] |
Referenced by initComponents().
javax.swing.JLabel cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::inhibitedAlarmLabel [private] |
Referenced by initComponents().
javax.swing.JLabel cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::inhibitedCounterLabel [private] |
Referenced by AlarmStatisticInfoPanel(), decreaseCounter(), increaseCounter(), initComponents(), and update().
javax.swing.JLabel [] cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::labels = null [private] |
behaviour which is displayed on this panel
Referenced by AlarmStatisticInfoPanel(), and moveAlarmNumber().
javax.swing.JPanel cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::labelsPanel [private] |
Referenced by initComponents().
Logger cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::logger [static, private] |
LogFactory
.getLogger(AlarmStatisticInfoPanel.class.getName())
logger
Referenced by onException(), and update().
javax.swing.JLabel cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::maskedAlarmLabel [private] |
Referenced by initComponents().
javax.swing.JLabel cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::maskedCounterLabel [private] |
Referenced by AlarmStatisticInfoPanel(), decreaseCounter(), increaseCounter(), initComponents(), and update().
javax.swing.JLabel cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::networkIconLabel [private] |
Referenced by initComponents(), and onException().
javax.swing.JLabel cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::reducedMaskedLabel [private] |
Referenced by initComponents().
javax.swing.JLabel cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::reducedMaskeValueLabel [private] |
Referenced by initComponents(), and postInitComponents().
1.6.2