ilog.tgo.model
Class IltLink.Technology

java.lang.Object
  extended by ilog.util.IlEnum
      extended by ilog.tgo.model.IltLink.Technology
Enclosing class:
IltLink

public static class IltLink.Technology
extends IlEnum

This enumeration lists the technologies of network links.

Technology values are graphically represented by a specific link color and an icon at the middle point of the link.

In order to modify or create new technology representations, register the technology icon and color using the method IltSettings.SetValue(). The first argument is a key name that identifies either the technology icon or color. Example argument values are:

When a new technology value is created, a ToolTip is automatically retrieved from the JViews TGO resource bundle. To customize this ToolTip, add an entry to the resource bundle using the following template:

 ilog.tgo.Link_Technology_<YOUR Technology NAME>_ToolTip=<ToolTip value>
 
This example redefines the ToolTip for the MyTechnology custom technology:
 ilog.tgo.Link_Technology_MyTechnology_ToolTip=my tooltip value
 

To create a new technology called Unknown, perform the following steps:

  1. Declare the new technology value:
           IltLink.Technology technology = new IltLink.Technology("Unknown");
           IltSettings.SetValue("Link.Technology.Unknown.Icon", image);
           IltSettings.SetValue("Link.Technology.Unknown.Color", Color.darkGray);
         
  2. And in the resource properties file, add the following entry:
           ilog.tgo.Link_Technology_Unknown_ToolTip=Unknown ToolTip
         

Since:
JViews 8.0
See Also:
IltSettings.SetValue(java.lang.Object, java.lang.Object)

Field Summary
static IltLink.Technology ATM_FrameRelay
           
static IltLink.Technology CircuitSwitching
           
static IltLink.Technology DWDM_Optical
           
static IltLink.Technology IP
           
static IlEnumInfo metainfo
          Contains metainformation about this IlEnum class.
static IltLink.Technology MultiLayer
           
static IltLink.Technology Other
           
static IltLink.Technology SONET_SDH
           
static IltLink.Technology WirelessEdge
           
 
Constructor Summary
IltLink.Technology()
          Default constructor.
IltLink.Technology(String name)
          Creates a new link technology.
 
Method Summary
 void setName(String name)
          Set the name of this object.
 
Methods inherited from class ilog.util.IlEnum
getName, intern, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

metainfo

public static IlEnumInfo metainfo
Contains metainformation about this IlEnum class.

Internal method or field: do not use!

CircuitSwitching

public static IltLink.Technology CircuitSwitching

ATM_FrameRelay

public static IltLink.Technology ATM_FrameRelay

WirelessEdge

public static IltLink.Technology WirelessEdge

IP

public static IltLink.Technology IP

SONET_SDH

public static IltLink.Technology SONET_SDH

DWDM_Optical

public static IltLink.Technology DWDM_Optical

MultiLayer

public static IltLink.Technology MultiLayer

Other

public static IltLink.Technology Other
Constructor Detail

IltLink.Technology

public IltLink.Technology(String name)
Creates a new link technology.

Parameters:
name - The technology name.

IltLink.Technology

public IltLink.Technology()
Default constructor. This constructor is used by CSS styling mechanism and is not meant to be called directly.

Internal method or field: do not use!
Method Detail

setName

public void setName(String name)
Set the name of this object. This method is used by CSS styling mechanism and is not meant to be called directly.

Overrides:
setName in class IlEnum
Internal method or field: do not use!


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