public class IltSNMPRenderer 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 { snmp: true; } setting."ilog.tgo.model.IltState"[name="SNMP.SNMP.OutPkts"] { type: Counter; gauge: @=gaugePerf; chart: @=chartPerf; counter: @=counterPerf; }
To customize the global settings programmatically,
use IltSettings.SetValue(Object, Object)
.
IltSettings.SetValue("SNMP.Interface.InOctets.Gauge", new IltGaugeMapping(...)); IltSettings.SetValue("SNMP.Interface.InOctets.Chart", new IltChartMapping(...)); IltSettings.SetValue("SNMP.Interface.InOctets.Counter", new IltCounterMapping()); IltSettings.SetValue("SNMP.Interface.InOctets.Type", IltDecorationType.Counter);
Constructor and Description |
---|
IltSNMPRenderer()
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
|
attach, detach, getChildrenAsArray, isEnabled, reset, setEnabled
public void reset()
reset
in class IltSettingsRenderer
public String getCSSClass()
null
as this configuration does
not use a business class parameter.public String getCSSType()
OSI
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.