public interface IltEnumerationCustomization
IltEnumerationCustomization
specifies the properties that can
be customized for enumerations using CSS. The following enumerations can be
configured:
IltNetworkElement.Family
IltNetworkElement.Type
IltPort.Type
IltLed.Type
IltCard.Type
IltCardCarrier.Type
IltShelf.Type
IltOffPageConnector.Type
IltSettings.setStyleSheets(String[])
.
setting."ilog.tgo.model.IltNetworkElement.Family"[name="OC192"] { label: myOC1; } setting."ilog.tgo.model.IltNetworkElement.Type"[name=NE] { label: "NE1"; } setting."ilog.tgo.model.IltOffPageConnector.Type"[name=Standard] { label: Standard1; } setting."ilog.tgo.model.IltCard.Type"[name=Standard] { label: Standard1; } setting."ilog.tgo.model.IltCardCarrier.Type"[name=Standard] { label: Standard1; } setting."ilog.tgo.model.IltLed.Type"[name=Circular] { label: Circular1; } setting."ilog.tgo.model.IltPort.Type"[name=DB_15f] { label: DB_15f1; } setting."ilog.tgo.model.IltShelf.Type"[name=Standard] { label: Standard1; }The same configuration can be achieved using the method
IltSettings.SetValue(Object, Object)
, as
illustrated below:
IltSettings.SetValue("NetworkElement.Type.NE.Label", "NE1"); IltSettings.SetValue("Card.Type.Standard.Label", "Standard1"); IltSettings.SetValue("Port.Type.DB_15f.Label", "DB_15f1"); IltSettings.SetValue("Shelf.Type.Standard.Label", "Standard1");
Modifier and Type | Method and Description |
---|---|
String |
getLabel()
Returns the label for applicable telecom object enumerations.
|
String getLabel()
setting."ilog.tgo.model.IltNetworkElement.Family"[name="OC192"] { label: myOC1; } setting."ilog.tgo.model.IltNetworkElement.Type"[name=NE] { label: "NE1"; } setting."ilog.tgo.model.IltLink.Type"[name=Standard] { label: "Standard1"; } setting."ilog.tgo.model.IltOffPageConnector.Type"[name=Standard] { label: Standard1; } setting."ilog.tgo.model.IltCard.Type"[name=Standard] { label: Standard1; } setting."ilog.tgo.model.IltCardCarrier.Type"[name=Standard] { label: Standard1; } setting."ilog.tgo.model.IltLed.Type"[name=Circular] { label: Circular1; } setting."ilog.tgo.model.IltPort.Type"[name=DB_15f] { label: DB_15f1; } setting."ilog.tgo.model.IltShelf.Type"[name=Standard] { label: Standard1; }
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.