Styling > Using Cascading Style Sheets > Customizing Object and Alarm States of Predefined Business Objects > Alarm Count Configuration Properties

The following properties apply to the alarm count displayed on the base of predefined business objects.

Table 2.13 CSS Properties for Alarm Count
Property Name 
Type 
Default Value 
Description 
alarmCountVisible 
boolean 
true 
Denotes whether the alarm count in the object base is visible or not. 
alarmCountFont 
Font 
Helvetica 12 bold 
Denotes the font used in alarm counts displayed in the object base. 
alarmCountForeground 
Color 
black 
Denotes the foreground color of the alarm count text displayed in the object base. 
alarmCountBackground 
Color 
transparent (null
Denotes the background color of the alarm count text displayed in the object base. 
alarmCountAbbreviated 
boolean 
false 
Denotes whether the alarm count in the object base is abbreviated or not. 
alarmCountAntialiasing 
boolean 
true 
Denotes whether the alarm count in the object base is displayed using antialiasing or not. 
alarmCountMultiline 
boolean 
false, except for network elements of type NEComponent and NEComponent_Logical 
Denotes whether the alarm count in the object base displays on two lines or not. When this property is set to true, the number of alarms displays on the first line and the alarm severity abbreviation displays on the second line. 
alarmCountLabel 
String 
The alarm count to be displayed in the object base. It is composed of the number of outstanding alarms of the highest severity, the short description of the highest outstanding alarm severity and a '+' sign in case the object has other alarms of lower severity. For example: 10C+ 
Defines the label to be used for the alarm count in the object base. 
alarmCountIcon 
Image 
The image registered for the highest outstanding alarm severity currently present in the object 
Defines the image to be used with the label to compose the alarm count in the object base. 

How to Customize the Alarm Count Representation

The following CSS extract illustrates how you can customize the graphic representation of the alarm count displayed on the object base.

object."ilog.tgo.model.IltNetworkElement" {
  alarmCountAntialiasing: true;
  alarmCountForeground: yellow;
}