The type of each alarm as relevant for the GUI.
In this context the type is given by its priority and its state.
The enum contains additional fields for each alarm type. These fields are related to the representation of the alarm in the GUI.
Each type has a unique ID.
- Author:
- acaproni
- Enumeration values:
-
white |
|
red |
|
Priority |
|
png |
|
black |
|
Color |
|
Priority |
|
png |
|
black |
|
yellow |
|
Priority |
|
png |
|
black |
|
Color |
|
Priority |
|
png |
|
black |
|
Color |
|
Inactive |
|
fg |
Constructor
- Parameters:
-
| fg | Foreground |
| bg | Background |
| title | The string to show for this alarm type |
| iconName | The name of the icon of this alarm type |
|
bg |
|
title |
|
alarm |
Return the type from an alarm
- Parameters:
-
- Returns:
- The type of an alarm
- Exceptions:
-
| IllegalStateException | If the priority of the alarm is not in range |
|
|