|
||||||||||
| 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.graphic.IltLinkPort
public class IltLinkPort
This enumeration describes and enumerates the link connection ports that can be used to customize the way links connect to nodes.
There are two kinds of link connection ports: those having a direction where links go out as a parallel bundle, and those without direction where the links go out from a specific point.
A link connection port is described by
| Nested Class Summary | |
|---|---|
static class |
IltLinkPort.LinkPortArrayEditor
Static property editor for the IltLinkPort enum
class. |
static class |
IltLinkPort.LinkPortEditor
Static property editor for the IltLinkPort enum
class. |
| Field Summary | |
|---|---|
static IltLinkPort |
Bottom
The port at the center of the bottom side of nodes. |
static IltLinkPort |
Center
The undirected port at the center of nodes. |
static IltLinkPort |
Left
The port at the center of the left side of nodes. |
static IlEnumInfo |
metainfo
Contains metainformation about this IlEnum class. |
static IltLinkPort |
Right
The port at the center of the right side of nodes. |
static IltLinkPort |
Top
The port at the center of the top side of nodes. |
| Constructor Summary | |
|---|---|
IltLinkPort(String name,
float fx,
float fy)
Creates a new link connection port without direction. |
|
IltLinkPort(String name,
float fx,
float fy,
float rx,
float ry,
float dist)
Creates a new link connection port with direction. |
|
| Method Summary | |
|---|---|
float |
getFx()
Returns the main point's x coordinate, relative to the bounding box. |
float |
getFy()
Returns the main point's y coordinate, relative to the bounding box. |
IltNodeSide |
getNodeSide()
Deprecated. This function will probably change in the next ILOG JTGO release. |
float |
getOffset()
Returns the offset between adjacent outgoing links. |
float |
getRx()
Returns the outgoing direction's x coordinate. |
float |
getRy()
Returns the outgoing direction's y coordinate. |
| Methods inherited from class ilog.util.IlEnum |
|---|
getName, intern, setName, 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 IltLinkPort Top
public static IltLinkPort Bottom
public static IltLinkPort Left
public static IltLinkPort Right
public static IltLinkPort Center
| Constructor Detail |
|---|
public IltLinkPort(String name,
float fx,
float fy)
fx - main point's x coordinate, relative to the bounding box (0 = left, 1 = right)fy - main point's y coordinate, relative to the bounding box (0 = top, 1 = bottom)
public IltLinkPort(String name,
float fx,
float fy,
float rx,
float ry,
float dist)
fx - main point's x coordinate, relative to the bounding box (0 = left, 1 = right)fy - main point's y coordinate, relative to the bounding box (0 = top, 1 = bottom)rx - outgoing direction's x coordinatery - outgoing direction's y coordinatedist - distance between adjacent outgoing links| Method Detail |
|---|
public float getFx()
public float getFy()
public float getRx()
1 = right, -1 = leftpublic float getRy()
1 = bottom, -1 = toppublic float getOffset()
public IltNodeSide getNodeSide()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||