Public Member Functions | |
AlarmTableEntry (Alarm alarm) | |
void | updateAlarm (Alarm newAlarm) |
AlarmGUIType | getAlarmType () |
Alarm | getAlarm () |
boolean | isNew () |
void | alarmSeen () |
boolean | isReduced () |
boolean | isChild () |
boolean | isParent () |
Private Attributes | |
volatile boolean | isNew |
Alarm | alarm |
AlarmGUIType | alarmType |
It consists of the alarm plus other information to represent the alarm in the table. The AlarmTablemodel finds here all it needs to show an alarm in a row.
|
Build an AlarmTableEntry from the given alarm
|
|
The user saw the alarm and press one mouse button over its line so the alarm is not new anymore |
|
|
|
|
|
|
|
Return true if the alarm is new
|
|
|
|
|
|
Update the alarm with the new one. Replace the alarm with the one but only if they have the same ID
|
|
The alarm received by the alarm system |
|
The type of the alarm |
|
An entry is new till the user look at it by pressing one mouse button over the row of the alarm |