|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.util.IlEnum
ilog.tgo.model.IltLink.Technology
public static class IltLink.Technology
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:
Link.Technology.WirelessEdge.Icon and
Link.Technology.WirelessEdge.Color
Link.Technology.CircuitSwitching.Icon and
Link.Technology.CircuitSwitching.Color
Link.Technology.MyTechnology.Icon and
Link.Technology.MyTechnology.Color
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:
IltLink.Technology technology = new IltLink.Technology("Unknown");
IltSettings.SetValue("Link.Technology.Unknown.Icon", image);
IltSettings.SetValue("Link.Technology.Unknown.Color", Color.darkGray);
ilog.tgo.Link_Technology_Unknown_ToolTip=Unknown ToolTip
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 |
|---|
public static IlEnumInfo metainfo
IlEnum class.
public static IltLink.Technology CircuitSwitching
public static IltLink.Technology ATM_FrameRelay
public static IltLink.Technology WirelessEdge
public static IltLink.Technology IP
public static IltLink.Technology SONET_SDH
public static IltLink.Technology DWDM_Optical
public static IltLink.Technology MultiLayer
public static IltLink.Technology Other
| Constructor Detail |
|---|
public IltLink.Technology(String name)
name - The technology name.public IltLink.Technology()
| Method Detail |
|---|
public void setName(String name)
setName in class IlEnum
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||