public class IltSANRenderer 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 { san: true; } SAN { states[0]: @+san0; } Subobject#san0 { class: 'ilog.tgo.model.IltSAN$SecState'; name: "SAN.SecState.CPUUtilization"; } setting."ilog.tgo.model.IltState"[name="SAN.SecState.CPUUtilization"] { type: Chart; gauge: @#gaugeMapping; chart: @#chartMapping; counter: @#counterMapping; }
To customize the global settings programmatically,
use IltSettings.SetValue(Object, Object)
.
IltSettings.SetValue("SAN.SecState.CPUUtilization.Type", IltDecorationType.Chart); IltSettings.SetValue("SAN.SecState.CPUUtilization.Chart", new IltChartMapping(chart1, chart2)); IltSettings.SetValue("SAN.SecState.CPUUtilization.Gauge", new IltGaugeMapping(...)); IltSettings.SetValue("SAN.SecState.CPUUtilization.Counter", new IltCounterMapping());
Constructor and Description |
---|
IltSANRenderer()
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 of the alarms and traps
|
void |
setStates(IltSAN.SecState[] states)
Adds SAN secondary states to the state system.
|
attach, detach, getChildrenAsArray, isEnabled, reset, setEnabled
public void reset()
reset
in class IltSettingsRenderer
public String getCSSClass()
A valid CSS selector is:
SAN { states[0]: @+san0; }
null
as this configuration does
not use a business class parameter.public String getCSSType()
A valid CSS selector is:
SAN { states[0]: @+san0; }
SAN
public void setStates(IltSAN.SecState[] states)
states
- SAN secondary state objects to be added to the state system
Settings { san: true; } SAN { states[0]: @+san0; } Subobject#san0 { class: 'ilog.tgo.model.IltSAN$SecState'; name: "SAN.SecState.Bandwidth-UsrDf"; }
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.