

Classes | |
| class | CounterWidgetMouseAdapter |
Public Member Functions | |
| CounterWidget (AlarmGUIType type, AlarmCounter alarmCounter, AlarmTableModel model) | |
| Component | getComponent () |
| void | update () |
| void | actionPerformed (ActionEvent e) |
Private Attributes | |
| final JTextField | widget |
| final AlarmGUIType | alarmType |
| final AlarmCounter | counter |
| AlarmTableModel | alarmModel |
| JPopupMenu | statusLinePM = new JPopupMenu() |
| JMenuItem | popupMI |
The counter for each type of alarm
| alma::acsplugins::alarmsystem::gui::statusline::CounterWidget::CounterWidget | ( | AlarmGUIType | type, | |
| AlarmCounter | alarmCounter, | |||
| AlarmTableModel | model | |||
| ) | [inline] |
References alarmModel, alarmType, counter, popupMI, statusLinePM, and widget.
| void alma::acsplugins::alarmsystem::gui::statusline::CounterWidget::actionPerformed | ( | ActionEvent | e | ) | [inline] |
| Component alma::acsplugins::alarmsystem::gui::statusline::CounterWidget::getComponent | ( | ) | [inline] |
| void alma::acsplugins::alarmsystem::gui::statusline::CounterWidget::update | ( | ) | [inline] |
Update the value shown in the widget
References counter, alma::acsplugins::alarmsystem::gui::table::AlarmCounter::getCount(), and widget.
Referenced by actionPerformed(), and CounterWidget().
final AlarmGUIType alma::acsplugins::alarmsystem::gui::statusline::CounterWidget::alarmType [private] |
Referenced by actionPerformed(), and CounterWidget().
Referenced by CounterWidget(), and update().
JMenuItem alma::acsplugins::alarmsystem::gui::statusline::CounterWidget::popupMI [private] |
Referenced by actionPerformed(), and CounterWidget().
JPopupMenu alma::acsplugins::alarmsystem::gui::statusline::CounterWidget::statusLinePM = new JPopupMenu() [private] |
final JTextField alma::acsplugins::alarmsystem::gui::statusline::CounterWidget::widget [private] |
Referenced by CounterWidget(), getComponent(), and update().
1.6.2