public interface IltStateCustomization
IltStateCustomization specifies the properties that can be
customized for states using CSS. The following states can be configured:
The following sample illustrates how a state can be configured using CSS.
The cascading style sheets are loaded using the method
IltSettings.setStyleSheets(String[]).
setting."ilog.tgo.model.IltState"[name="Misc.SecState.DoorAjar"] {
icon: '@|image("icon1.png")';
}
setting."ilog.tgo.model.IltState"[name="SONET.Protection.Locked"] {
icon: '@|image("icon1.png")';
}
setting."ilog.tgo.model.IltState"[name="SNMP.State.Testing"] {
icon: '@|image("icon2.png")';
}
The same configuration can be achieved using the method
IltSettings.SetValue(Object, Object), as
illustrated below:
IltSettings.SetValue("Misc.SecState.DoorAjar.Icon", icon);
IltSettings.SetValue("SONET.Protection.Locked.Icon", icon);
| Modifier and Type | Method and Description |
|---|---|
Image |
getIcon()
Returns the icon that represents this state as a secondary
state modifier.
|
Image getIcon()
CSS settings:
setting."ilog.tgo.model.IltState"[name="OSI.State.Administrative.Locked"] {
icon: '@|image("icon1.png")';
}
setting."ilog.tgo.model.IltState"[name="OSI.State.Administrative.ShuttingDown"] {
icon: '@|image("icon2.png")';
}
setting."ilog.tgo.model.IltState"[name="OSI.State.Usage.Busy"] {
icon: '@|image("icon3.png")';
}
setting."ilog.tgo.model.IltState"[name="Misc.SecState.TestFailed"] {
icon: '@|image("icon1.png")';
}
setting."ilog.tgo.model.IltState"[name="SNMP.State.Failed"] {
icon: '@|image("icon1.png")';
}
setting."ilog.tgo.model.IltState"[name="SNMP.State.Shutdown"] {
icon: '@|image("icon2.png")';
}
setting."ilog.tgo.model.IltState"[name="SNMP.State.Testing"] {
icon: '@|image("icon3.png")';
}
setting."ilog.tgo.model.IltState"[name="SNMP.IP.Forwarding"] {
icon: '@|image("icon1.png")';
}
setting."ilog.tgo.model.IltState"[name="SONET.Protection.Locked"] {
icon: '@|image("icon1.png")';
}
© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.