Secondary states and information window properties

Properties for customizing secondary states and information window

CSS properties for secondary states and information window 
Property Name
Type
Default Value
Description
baseStyleEnabled
boolean
true for all objects except groups
Defines whether the object base is modified according to the object state set in the instance.
secondaryStateVisible
boolean
true
Defines whether the secondary state icons are displayed or not
secondaryStatePosition
IlvDirection
Top
Defines the position of the secondary state icons relative to the base. Possible values are:
Top
Bottom .
infoIconThreshold
int
2
Defines the maximum number of secondary state icons that can be displayed.
When the number of secondary state icons is bigger than this threshold, the icons are replaced by an information icon and the state information is available through the Information window.
infoWindowColor
Color
10% gray
Defines the color used to draw the background of the Information window.
infoWindowBorderColor
Color
black
Defines the color used to draw the border of the Information window.
infoWindowShadowColor
Color
60% gray
Defines the color used to draw the shadow of the information window.
infoWindowVisible
boolean
true
Determines whether the Information window is visible or not.
infoWindowPresent
boolean
false
Determines whether the Information window is always available. When this value is set to false , the Information window is only available when the number of secondary state icons exceeds the limit defined by the property infoWindowThreshold .
When this value is set to true , the Information window can be accessed by clicking the secondary state icons.
infoWindowTextFont
Font
Helvetica 10
Defines the font of the text displayed in the Information Window.
infoWindowTextAntialiasing
boolean
true
Determines whether the text displayed in the Information window uses anti-aliasing or not.
infoWindowTextBackground
Color
null
Defines the background color of the text displayed in the Information window.
infoWindowTextForeground
Color
black
Defines the foreground color of the text displayed in the Information window.
listPrimaryState
boolean
true for OSI and SNMP
false for other state systems
Determines whether the primary state information is listed in the Information window or not.
listPrimaryAlarmState
boolean
false
Lists the primary alarm state information in the Information window.
listSecondaryAlarmState
boolean
false
Lists the secondary alarm state information in the Information window.
listAlarmStateAbbreviated
boolean
false
Determines whether the alarm state information listed in the Information window displays alarm severities using their abbreviation or their description.

How to customize the secondary states

The following CSS extract modifies the network element graphic representation by specifying that the Information window will always be available when the object has secondary states. To open the Information window, simply click any of the secondary state icons or the Information icon, if it is present.
object."ilog.tgo.model.IltNetworkElement" {
  infoWindowPresent: true;
  listPrimaryAlarmState: true;
  listSecondaryAlarmState: true;
  listState: true;
}
This extract also specifies that the primary state information and the alarm state information are displayed in the Information window.