public static class IltPort.Type extends IltCardItem.Type
Port type information specifies the category of a port object
and defines how the object is graphically represented.
If a type is not explicitely defined, a default value is used
(IltPort.DefaultType
). You can modify the type information on a port
object, by setting the value of
IltCardItem.TypeAttribute
or by using the
method IltPort.setType(ilog.tgo.model.IltPort.Type)
.
You can declare new types of ports by creating new instances for this class. Each type instance must have a name, that is used as a unique identifier. The following example shows how you can create a new port type:
IltPort.Type newType = new IltPort.Type(YOUR_NEW_TYPE_NAME);
The graphic representation associated with a port type is defined
through port base renderers
(IltPortBaseRenderer
).
JTGO provides a set of predefined port types with their corresponding
representation. You can change the port type predefined renderers or define
new base renderers for your new port types through
IltSettings
,
as illustrated below:
try { Image img = null; URL url = new URL("file","",YOUR_IMAGE_FILE_NAME); img = java.awt.Toolkit.getDefaultToolkit().getImage(url); if (img != null) { IltPortImageBaseRendererFactory factory = new IltPortImageBaseRendererFactory( img , YOUR_IMAGE_PARAMETERS ); IltSettings.SetValue("Port.Type.YOUR_NEW_TYPE_NAME.Renderer" , factory ); } } catch (Exception e) {e.printStackTrace();}
Once you create a new Port type, register the following resources in the JTGO resource bundle in order to have this type attribute properly represented in the Table component:
ilog.tgo.Port_Type_<YOUR TYPE NAME>=<Label value> ilog.tgo.Port_Type_<YOUR_TYPE_NAME>_ToolTip=<ToolTip value>
Modifier and Type | Field and Description |
---|---|
static IltPort.Type |
BNC_f
This type defines a BNC female connector.
|
static IltPort.Type |
BNC_m
This type defines a BNC male connector.
|
static IltPort.Type |
CardEdge_34f
This type defines a Card Edge female connector with 34 pins.
|
static IltPort.Type |
Centronics_36f
This type defines a Centronics female connector with 36 pins.
|
static IltPort.Type |
Centronics_36m
This type defines a Centronics male connector with 36 pins.
|
static IltPort.Type |
Centronics_50f
This type defines a Centronics female connector with 50 pins.
|
static IltPort.Type |
Centronics_50m
This type defines a Centronics male connector with 50 pins.
|
static IltPort.Type |
Centronics_HP_36f
This type defines a Half Pitch Centronics female connector with 36 pins.
|
static IltPort.Type |
Centronics_HP_36m
This type defines a Half Pitch Centronics male connector with 36 pins.
|
static IltPort.Type |
Centronics_HP_50f
This type defines a Half Pitch Centronics female connector with 50 pins.
|
static IltPort.Type |
Centronics_HP_50m
This type defines a Half Pitch Centronics male connector with 50 pins.
|
static IltPort.Type |
Centronics_VHD_68f
This type defines a Centronics VHD female connector with 68 pins.
|
static IltPort.Type |
Centronics_VHD_68m
This type defines a Centronics VHD male connector with 68 pins.
|
static IltPort.Type |
Composed_13W3_f
This type defines a Composed 13W3 female connector.
|
static IltPort.Type |
Composed_13W3_m
This type defines a Composed 13W3 male connector.
|
static IltPort.Type |
DB_15f
This type defines a DB female connector with 15 pins.
|
static IltPort.Type |
DB_15m
This type defines a DB male connector with 15 pins.
|
static IltPort.Type |
DB_25f
This type defines a DB female connector with 25 pins.
|
static IltPort.Type |
DB_25m
This type defines a DB male connector with 25 pins.
|
static IltPort.Type |
DB_37f
This type defines a DB female connector with 37 pins.
|
static IltPort.Type |
DB_37m
This type defines a DB male connector with 37 pins.
|
static IltPort.Type |
DB_50f
This type defines a DB female connector with 50 pins.
|
static IltPort.Type |
DB_50m
This type defines a DB male connector with 50 pins.
|
static IltPort.Type |
DB_9f
This type defines a DB female connector with nine pins.
|
static IltPort.Type |
DB_9m
This type defines a DB male connector with nine pins.
|
static IltPort.Type |
DB_HD_15f
This type defines a High Density DB female connector with 15 pins.
|
static IltPort.Type |
DB_HD_15m
This type defines a High Density DB male connector with 15 pins.
|
static IltPort.Type |
DB_HP_50f
This type defines a Half Pitch DB female connector with 50 pins.
|
static IltPort.Type |
DB_HP_50m
This type defines a Half Pitch DB male connector with 50 pins.
|
static IltPort.Type |
DB_HP_68f
This type defines a Half Pitch DB female connector with 68 pins.
|
static IltPort.Type |
DB_HP_68m
This type defines a Half Pitch DB male connector with 68 pins.
|
static IltPort.Type |
DIN_4f
This type defines a four-pin female DIN connector.
|
static IltPort.Type |
DIN_4m
This type defines a four-pin male DIN connector.
|
static IltPort.Type |
DIN_5f
This type defines a five-pin female DIN connector.
|
static IltPort.Type |
DIN_5m
This type defines a five-pin male DIN connector.
|
static IltPort.Type |
DIN_6f
This type defines a six-pin female DIN connector.
|
static IltPort.Type |
DIN_6m
This type defines a six-pin male DIN connector.
|
static IltPort.Type |
DIN_8f
This type defines an eight-pin female DIN connector.
|
static IltPort.Type |
DIN_8m
This type defines an eight-pin male DIN connector.
|
static IltPort.Type |
ExternalPower_f
This type defines an External Power female connector.
|
static IltPort.Type |
ExternalPower_m
This type defines an External Power male connector.
|
static IltPort.Type |
FDD_Power_f
This type defines a female FDD Power connector.
|
static IltPort.Type |
FDD_Power_m
This type defines a male FDD Power connector.
|
static IltPort.Type |
HDD_Power_f
This type defines a female HDD Power connector.
|
static IltPort.Type |
HDD_Power_m
This type defines a male HDD Power connector.
|
static IltPort.Type |
HoodedPower_f
This type defines a Hooded Power female connector.
|
static IltPort.Type |
HoodedPower_m
This type defines a Hooded Power male connector.
|
static IltPort.Type |
IDC_34f
This type defines an IDC female connector with 34 pins.
|
static IltPort.Type |
IDC_34m
This type defines an IDC male connector with 34 pins.
|
static IltPort.Type |
IDC_40f
This type defines an IDC female connector with 40 pins.
|
static IltPort.Type |
IDC_40m
This type defines an IDC male connector with 40 pins.
|
static IltPort.Type |
IDC_50f
This type defines an IDC female connector with 50 pins.
|
static IltPort.Type |
IDC_50m
This type defines an IDC male connector with 50 pins.
|
static IltPort.Type |
IDC_68
This type defines an IDC connector with 68 pins.
|
static IltPort.Type |
IEEE_1394_4f
This type defines an IEEE 1394 female connector with four pins.
|
static IltPort.Type |
IEEE_1394_4m
This type defines an IEEE 1394 male connector with four pins.
|
static IltPort.Type |
IEEE_1394_6f
This type defines an IEEE 1394 female connector with six pins.
|
static IltPort.Type |
IEEE_1394_6m
This type defines an IEEE 1394 male connector with six pins.
|
static IltPort.Type |
LFH_60f
This type defines an LFH female connector with 60 pins.
|
static IltPort.Type |
LFH_60m
This type defines an LFH male connector with 60 pins.
|
static IlEnumInfo |
metainfo
Contains metainformation about this
IlEnum class. |
static IltPort.Type |
RJ45_f
This type defines an RJ45 female connector.
|
static IltPort.Type |
RJ45_m
This type defines an RJ45 male connector.
|
static IltPort.Type |
SC_Fiber_f
This type defines an SC Fiber female connector.
|
static IltPort.Type |
SC_Fiber_m
This type defines an SC Fiber male connector.
|
static IltPort.Type |
SCA_80f
This type defines an SCA female connector with 80 pins.
|
static IltPort.Type |
SCA_80m
This type defines an SCA male connector with 80 pins.
|
static IltPort.Type |
ST_Fiber_f
This type defines an ST Fiber female connector.
|
static IltPort.Type |
ST_Fiber_m
This type defines an ST Fiber male connector.
|
static IltPort.Type |
TwoProngPower_f
This type defines a female Two-Prong Power connector.
|
static IltPort.Type |
TwoProngPower_m
This type defines a male Two-Prong Power connector.
|
static IltPort.Type |
USB_A_f
This type defines a USB-A female connector.
|
static IltPort.Type |
USB_A_m
This type defines a USB-A male connector.
|
static IltPort.Type |
USB_B_f
This type defines a USB-B female connector.
|
static IltPort.Type |
USB_B_m
This type defines a USB-B male connector.
|
static IltPort.Type |
V35_f
This type defines a V.35 female connector.
|
static IltPort.Type |
V35_m
This type defines a V.35 male connector.
|
public static IlEnumInfo metainfo
IlEnum
class.public static IltPort.Type IEEE_1394_4f
public static IltPort.Type IEEE_1394_4m
public static IltPort.Type IEEE_1394_6f
public static IltPort.Type IEEE_1394_6m
public static IltPort.Type Composed_13W3_f
public static IltPort.Type Composed_13W3_m
public static IltPort.Type DIN_4f
public static IltPort.Type DIN_4m
public static IltPort.Type DIN_5f
public static IltPort.Type DIN_5m
public static IltPort.Type DIN_6f
public static IltPort.Type DIN_6m
public static IltPort.Type DIN_8f
public static IltPort.Type DIN_8m
public static IltPort.Type BNC_f
public static IltPort.Type BNC_m
public static IltPort.Type CardEdge_34f
public static IltPort.Type Centronics_36f
public static IltPort.Type Centronics_36m
public static IltPort.Type Centronics_50f
public static IltPort.Type Centronics_50m
public static IltPort.Type Centronics_VHD_68f
public static IltPort.Type Centronics_VHD_68m
public static IltPort.Type Centronics_HP_36f
public static IltPort.Type Centronics_HP_36m
public static IltPort.Type Centronics_HP_50f
public static IltPort.Type Centronics_HP_50m
public static IltPort.Type DB_15f
public static IltPort.Type DB_15m
public static IltPort.Type DB_25f
public static IltPort.Type DB_25m
public static IltPort.Type DB_37f
public static IltPort.Type DB_37m
public static IltPort.Type DB_50f
public static IltPort.Type DB_50m
public static IltPort.Type DB_HP_50f
public static IltPort.Type DB_HP_50m
public static IltPort.Type DB_HP_68f
public static IltPort.Type DB_HP_68m
public static IltPort.Type DB_9f
public static IltPort.Type DB_9m
public static IltPort.Type DB_HD_15f
public static IltPort.Type DB_HD_15m
public static IltPort.Type ExternalPower_f
public static IltPort.Type ExternalPower_m
public static IltPort.Type HoodedPower_f
public static IltPort.Type HoodedPower_m
public static IltPort.Type FDD_Power_f
public static IltPort.Type FDD_Power_m
public static IltPort.Type HDD_Power_f
public static IltPort.Type HDD_Power_m
public static IltPort.Type TwoProngPower_f
public static IltPort.Type TwoProngPower_m
public static IltPort.Type IDC_34f
public static IltPort.Type IDC_34m
public static IltPort.Type IDC_40f
public static IltPort.Type IDC_40m
public static IltPort.Type IDC_50f
public static IltPort.Type IDC_50m
public static IltPort.Type IDC_68
public static IltPort.Type LFH_60f
public static IltPort.Type LFH_60m
public static IltPort.Type RJ45_f
public static IltPort.Type RJ45_m
public static IltPort.Type SCA_80f
public static IltPort.Type SCA_80m
public static IltPort.Type SC_Fiber_f
public static IltPort.Type SC_Fiber_m
public static IltPort.Type ST_Fiber_f
public static IltPort.Type ST_Fiber_m
public static IltPort.Type USB_A_f
public static IltPort.Type USB_A_m
public static IltPort.Type USB_B_f
public static IltPort.Type USB_B_m
public static IltPort.Type V35_f
public static IltPort.Type V35_m
public Type(String name)
name
- A unique name.public Type()
© Copyright Rogue Wave Software, Inc. 1997, 2015. All Rights Reserved.