ilog.tgo.resource.css
Interface IltLinkTechnologyCustomization


public interface IltLinkTechnologyCustomization

IltLinkTechnologyCustomization specifies the properties that can be customized for IltLink.Technology using CSS. The following extract illustrates how a technology can be configured using CSS. The cascading style sheets are loaded using the method IltSettings.setStyleSheets(String[]).

  
 setting."ilog.tgo.model.IltLink.Technology"[name="PacketSwitching"] {
   icon: '@|image("icon-ps.png")';
   color: 'white';
 }
 
The same configuration can be achieved using the method IltSettings.SetValue(Object, Object), as illustrated below:
 IltSettings.SetValue("Link.Technology.PacketSwitching.Icon", icon);
 IltSettings.SetValue("Link.Technology.PacketSwitching.Color", Color.white);
 

Since:
JViews 8.0

Method Summary
 Color getColor()
          Returns the color for applicable telecom objects.
 Image getIcon()
          Returns the icon for applicable telecom objects.
 

Method Detail

getIcon

Image getIcon()
Returns the icon for applicable telecom objects. See the CSS settings below for details.
 setting."ilog.tgo.model.IltLink.Technology"[name="PacketSwitching"] {
   icon: '@|image("icon-ps.png")';
 }
 

Returns:
The icon for applicable telecom objects.

getColor

Color getColor()
Returns the color for applicable telecom objects. See the CSS settings below for details.
 setting."ilog.tgo.model.IltLink.Technology"[name="PacketSwitching"] {
   color: white;
 }
 

Returns:
The color for applicable telecom objects.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.