|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.tgo.resource.renderer.IltSettingsRenderer
ilog.tgo.resource.renderer.IltOSIRenderer
public class IltOSIRenderer
This class illustrates how you can configure OSI Secondary States using cascading style sheets.
This class shows all the properties that can be customized using cascading style sheets.
The CSS configuration can be applied to the Global Settings
(@link ilog.tgo.resource.IltSettings), using
IltSettings.setStyleSheets(String[]).
This class can be configured like this in a CSS file:
Settings {
osi: true;
}
setting."ilog.tgo.model.IltState"[name="OSI.State.Administrative.ShuttingDown"] {
icon: '@|image("icon1.png")';
}
setting."ilog.tgo.model.IltState"[name="OSI.Repair.UnderRepair"] {
oosIcon: '@|image("icon2.png")';
ntIcon: '@|image("icon3.png")';
ctIcon: '@|image("icon4.png")';
}
To customize the global settings programmatically,
use IltSettings.SetValue(Object, Object).
IltSettings.SetValue("OSI.State.Administrative.ShuttingDown.Icon", icon1);
IltSettings.SetValue("OSI.Repair.UnderRepair.OOS.Icon", icon2);
IltSettings.SetValue("OSI.Repair.UnderRepair.NT.Icon", icon3);
IltSettings.SetValue("OSI.Repair.UnderRepair.CT.Icon", icon4);
| Constructor Summary | |
|---|---|
IltOSIRenderer()
Default Constructor |
|
| Method Summary | |
|---|---|
String |
getCSSClass()
Returns the business class used in the selector. |
String |
getCSSType()
Returns the type used in CSS selectors. |
void |
reset()
Resets the configuration of the alarms and traps |
| Methods inherited from class ilog.tgo.resource.renderer.IltSettingsRenderer |
|---|
attach, detach, getChildrenAsArray, isEnabled, reset, setEnabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IltOSIRenderer()
| Method Detail |
|---|
public void reset()
reset in class IltSettingsRendererpublic String getCSSClass()
null as this configuration does
not use a business class parameter.public String getCSSType()
OSI
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||