public static class IltNetworkElement.Family extends IlEnum
Network element families are graphically represented by a label. When a new family value is created, the label and ToolTip are automatically retrieved from the JTGO resource bundle.
You can customize the label that is displayed for the family attribute in the following ways:
IltSettings.SetValue(java.lang.Object, java.lang.Object)
: the
first argument is the property being set and the second argument
is the label itself or a message name that will be retrieved
in the JTGO resource bundle.
The following example shows how to modify the representation for the
"NetworkElement.Family.OC1.Label" property in the FCOT
family:
IltSettings.SetValue("NetworkElement.Family.FCOT.Label", "F");
ilog.tgo.NetworkElement_Family_YOUR FAMILY NAME=Label value
To customize the ToolTip displayed for the family attribute, add an entry to the JTGO resource bundle using the following template:
ilog.tgo.NetworkElement_Family_YOUR FAMILY NAME_ToolTip=ToolTip value
For example, to create a new family value called OC384, execute the following steps:
IltNetworkElement.Family family = new IltNetworkElement.Family("OC384");
ilog.tgo.NetworkElement_Family_OC384=384 ilog.tgo.NetworkElement_Family_OC384_ToolTip=OC 384
IltSettings
Modifier and Type | Field and Description |
---|---|
static IltNetworkElement.Family |
FCOT |
static IlEnumInfo |
metainfo
Contains metainformation about this
IlEnum class. |
static IltNetworkElement.Family |
OC1 |
static IltNetworkElement.Family |
OC12 |
static IltNetworkElement.Family |
OC18 |
static IltNetworkElement.Family |
OC192 |
static IltNetworkElement.Family |
OC24 |
static IltNetworkElement.Family |
OC3 |
static IltNetworkElement.Family |
OC36 |
static IltNetworkElement.Family |
OC48 |
static IltNetworkElement.Family |
OC9 |
static IltNetworkElement.Family |
OC96 |
static IltNetworkElement.Family |
STM1 |
static IltNetworkElement.Family |
STM12 |
static IltNetworkElement.Family |
STM16 |
static IltNetworkElement.Family |
STM3 |
static IltNetworkElement.Family |
STM32 |
static IltNetworkElement.Family |
STM4 |
static IltNetworkElement.Family |
STM6 |
static IltNetworkElement.Family |
STM64 |
static IltNetworkElement.Family |
STM8 |
Constructor and Description |
---|
Family()
Default constructor.
|
Family(String name)
Creates a new family.
|
Modifier and Type | Method and Description |
---|---|
void |
setName(String name)
Sets the name of this object.
|
public static IlEnumInfo metainfo
IlEnum
class.public static IltNetworkElement.Family FCOT
public static IltNetworkElement.Family OC1
public static IltNetworkElement.Family OC3
public static IltNetworkElement.Family OC9
public static IltNetworkElement.Family OC12
public static IltNetworkElement.Family OC18
public static IltNetworkElement.Family OC24
public static IltNetworkElement.Family OC36
public static IltNetworkElement.Family OC48
public static IltNetworkElement.Family OC96
public static IltNetworkElement.Family OC192
public static IltNetworkElement.Family STM1
public static IltNetworkElement.Family STM3
public static IltNetworkElement.Family STM4
public static IltNetworkElement.Family STM6
public static IltNetworkElement.Family STM8
public static IltNetworkElement.Family STM12
public static IltNetworkElement.Family STM16
public static IltNetworkElement.Family STM32
public static IltNetworkElement.Family STM64
public Family(String name)
name
- A unique name, used for serialization purposes.public Family()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.