alma::acsplugins::alarmsystem::gui::statusline::CounterWidget Class Reference

Inheritance diagram for alma::acsplugins::alarmsystem::gui::statusline::CounterWidget:
Inheritance graph
[legend]
Collaboration diagram for alma::acsplugins::alarmsystem::gui::statusline::CounterWidget:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

The counter for each type of alarm

Author:
acaproni

Constructor & Destructor Documentation

alma::acsplugins::alarmsystem::gui::statusline::CounterWidget::CounterWidget ( AlarmGUIType  type,
AlarmCounter  alarmCounter,
AlarmTableModel  model 
) [inline]

Member Function Documentation

void alma::acsplugins::alarmsystem::gui::statusline::CounterWidget::actionPerformed ( ActionEvent  e  )  [inline]
Component alma::acsplugins::alarmsystem::gui::statusline::CounterWidget::getComponent (  )  [inline]

Return the component

Returns:
the component

References widget.

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.


Member Data Documentation

Referenced by actionPerformed(), and CounterWidget().

Referenced by actionPerformed(), and CounterWidget().

Referenced by CounterWidget(), and update().

Referenced by actionPerformed(), and CounterWidget().

Referenced by CounterWidget(), getComponent(), and update().


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

Generated by  doxygen 1.6.2