ilog.tgo.resource.css
Interface IltEnumerationCustomization

All Known Subinterfaces:
IltNetworkElementFamilyCustomization, IltNetworkElementTypeCustomization, IltTypeCustomization

public interface IltEnumerationCustomization

IltEnumerationCustomization specifies the properties that can be customized for enumerations using CSS. The following enumerations can be configured:

The following extract illustrates how an alarm severity can be configured using CSS. The cascading style sheets are loaded using the method 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");
 

Since:
JViews 7.5

Method Summary
 String getLabel()
          Returns the label for applicable telecom object enumerations.
 

Method Detail

getLabel

String getLabel()
Returns the label for applicable telecom object enumerations.

CSS settings:
 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 © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.