public abstract class IltAbstractWindowRenderer extends IltSettingsRenderer
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")';
}
| Modifier | Constructor and Description |
|---|---|
protected |
IltAbstractWindowRenderer()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
attach, detach, getChildrenAsArray, isEnabled, setEnabledprotected IltAbstractWindowRenderer()
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")';
}
© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.