|
||||||||||
| PREV CLASS 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.IltAbstractWindowRenderer
public abstract class IltAbstractWindowRenderer
IltAbstractWindowRenderer illustrates how you can configure the
information window 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
(IltSettings), using
IltSettings.setStyleSheets(String[]).
To customize the global settings programmatically,
use IltSettings.SetValue(Object, Object).
The following example shows how this class can be configured in a CSS file:
Settings {
informationWindow: true;
systemWindow: true;
}
InformationWindow {
icon: '@|image("icon1.png")';
}
SystemWindow {
icon: '@|image("icon1.png")';
}
| Constructor Summary | |
|---|---|
protected |
IltAbstractWindowRenderer()
The default constructor. |
| Method Summary | |
|---|---|
String |
getCSSClass()
Returns the business class used in the selector. |
void |
reset()
Resets the configuration of the alarms and the traps. |
void |
reset(Object b)
Resets the configuration of the given bean. |
void |
setAcknowledgedIcon(Image acknowledgedIcon)
Sets the acknowledged icon to be displayed, primarily in the information or system window. |
void |
setIcon(Image icon)
Sets the icon to be displayed, primarily in the information or system window. |
| Methods inherited from class ilog.tgo.resource.renderer.IltSettingsRenderer |
|---|
attach, detach, getChildrenAsArray, isEnabled, setEnabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ilog.tgo.resource.css.internal.IltSettingsCSSEntity |
|---|
getCSSType |
| Constructor Detail |
|---|
protected IltAbstractWindowRenderer()
| Method Detail |
|---|
public void reset()
reset in class IltSettingsRendererpublic void reset(Object b)
This method prepares the bean to be configured with the CSS information.
reset in class IltSettingsRendererb - Bean objectpublic String getCSSClass()
null is returned.public void setIcon(Image icon)
icon - The icon to be set.
CSS settings:
Settings {
informationWindow: true;
systemWindow: true;
}
InformationWindow {
icon: '@|image("icon1.png")';
}
SystemWindow {
icon: '@|image("icon1.png")';
}
public void setAcknowledgedIcon(Image acknowledgedIcon)
acknowledgedIcon - The icon to be set.
CSS settings:
Settings {
informationWindow: true;
systemWindow: true;
}
InformationWindow {
acknowledgedIcon: '@|image("icon2.png")';
}
SystemWindow {
acknowledgedIcon: '@|image("icon2.png")';
}
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||