public static class IltLink.Technology extends IlEnum
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)
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
Technology()
Default constructor.
|
Technology(String name)
Creates a new link technology.
|
Modifier and Type | Method and Description |
---|---|
void |
setName(String name)
Set the name of this object.
|
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
public Technology(String name)
name
- The technology name.public Technology()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.