|
||||||||||
| 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.Media
public static class IltLink.Media
This enumeration lists the media of different network links.
Media values are graphically represented as an icon displayed at the midpoint of the link.
In order to modify or create new media representations, register the
media icon using the method IltSettings.SetValue.
The first argument is a key name. Possible arguments are:
Link.Media.name.IconLink.Media.CNET.IconLink.Media.Fiber.IconWhen a new media value is created, a ToolTip is automatically retrieved from the JViews TGO resource bundle. To customize this ToolTip, add an entry to this resource bundle using the following template:
ilog.tgo.Link_Media_<YOUR MEDIA NAME>_ToolTip=<ToolTip value>
For example, to create a new Media object, Unknown,
perform the following steps:
IltLink.Media media = new IltLink.Media("Unknown");
IltSettings.SetValue("Link.Media.Unknown.Icon", image);
ilog.tgo.Link_Media_Unknown_ToolTip=Unknown Media
IltSettings.SetValue(java.lang.Object, java.lang.Object)| Field Summary | |
|---|---|
static IltLink.Media |
CNET
|
static IltLink.Media |
Electrical
|
static IltLink.Media |
Fiber
|
static IlEnumInfo |
metainfo
Contains metainformation about this IlEnum class. |
| Constructor Summary | |
|---|---|
IltLink.Media()
Default constructor. |
|
IltLink.Media(String name)
Creates a new media. |
|
| 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.Media CNET
public static IltLink.Media Fiber
public static IltLink.Media Electrical
| Constructor Detail |
|---|
public IltLink.Media(String name)
name - The media name. This is used for serialization purposes.public IltLink.Media()
| 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 | |||||||||