public class IltMiscRenderer extends IltSettingsRenderer
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 {
misc: true;
}
Misc {
states[0]: @+misc0;
}
Subobject#misc0 {
class: 'ilog.tgo.model.IltMisc$SecState';
name: "Misc.SecState.TestFailed-UsrDf";
}
setting."ilog.tgo.model.IltState"[name="Misc.SecState.TestFailed-UsrDf"] {
icon: '@|image("icon1.png")';
}
To customize the global settings programmatically,
use IltSettings.SetValue(Object, Object).
IltSettings.SetValue("Misc.SecState.TestFailed-UsrDf.Icon" icon);
| Constructor and Description |
|---|
IltMiscRenderer()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCSSClass()
Returns the business class used in the selector.
|
String |
getCSSType()
Returns the type used in CSS selectors.
|
void |
reset()
Resets the configuration.
|
void |
setStates(IltMisc.SecState[] states)
Adds Misc secondary states to the state system.
|
attach, detach, getChildrenAsArray, isEnabled, reset, setEnabledpublic void reset()
reset in class IltSettingsRendererpublic String getCSSClass()
A valid CSS selector is:
Misc {
states[0]: @+misc0;
}
null as this configuration does
not use a business class parameter.public String getCSSType()
A valid CSS selector is:
Misc {
states[0]: @+misc0;
}
Miscpublic void setStates(IltMisc.SecState[] states)
states - Misc secondary state objects to be added to the state system
Settings {
misc: true;
}
Misc {
states[0]: @+misc0;
}
Subobject#misc0 {
class: 'ilog.tgo.model.IltMisc$SecState';
name: "Misc.SecState.TestFailed-UsrDf";
}
© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.