@Deprecated public abstract class IltNodeSide extends Object implements Cloneable, Serializable
There are two kinds of node sides: 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 node side is described by
IltShortLinkLayout
,
Serialized FormModifier and Type | Field and Description |
---|---|
static IltNodeSide |
BOTTOM
Deprecated.
The bottom side of nodes.
|
static IltNodeSide |
CENTER
Deprecated.
The center of nodes, as a node side without direction.
|
static IltNodeSide |
LEFT
Deprecated.
The left side of nodes.
|
static IltNodeSide |
RIGHT
Deprecated.
The right side of nodes.
|
static IltNodeSide |
TOP
Deprecated.
The top side of nodes.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
clone()
Deprecated.
Returns a copy of the current side, with room for private data.
|
protected abstract boolean |
compareLinks(int category,
ilog.tgo.graphic.graphlayout.IltNodeData node,
IlvPoint point1,
IlvPoint point2,
ilog.tgo.graphic.graphlayout.IltLinkData link1,
ilog.tgo.graphic.graphlayout.IltLinkData link2)
Deprecated.
Decides the order of the connection of two links that
have the same category number and a different opposite side.
|
protected abstract boolean |
compareLinks(int oppositeSide,
IlvPoint point1,
IlvPoint point2)
Deprecated.
Decides the order of the connection of two links that
have the same category number and the same opposite side.
|
protected abstract void |
computeConnectionPoint(IlvRect nodeBBox,
ilog.tgo.graphic.graphlayout.IltLinkShape shape,
IlvPoint connectionPoint,
IlvPoint adjacentPoint,
double dist)
Deprecated.
|
static IltNodeSide |
CreateNodeSide(double fx,
double fy)
Deprecated.
Creates a new node side without direction.
|
static IltNodeSide |
CreateNodeSide(double fx,
double fy,
float rx,
float ry,
double dist)
Deprecated.
Creates a new node side with direction
|
protected abstract int |
getCategory(ilog.tgo.graphic.graphlayout.IltLinkData link,
ilog.tgo.graphic.graphlayout.IltNodeData node)
Deprecated.
Computes the category number for a link from the view point of a given
end node.
|
double |
getFx()
Deprecated.
Returns the main point's x coordinate, relative to the bounding box.
|
double |
getFy()
Deprecated.
Returns the main point's y coordinate, relative to the bounding box.
|
abstract double |
getOffset()
Deprecated.
Returns the distance between adjacent outgoing links.
|
protected abstract double |
getRadialDelta(IlvPoint point1,
IlvPoint point2)
Deprecated.
Returns the radial delta of two points (usually, two points of a link).
|
protected IlvPoint |
getReferencePoint(ilog.tgo.graphic.graphlayout.IltLinkData link,
ilog.tgo.graphic.graphlayout.IltNodeData node)
Deprecated.
|
abstract float |
getRx()
Deprecated.
Returns the outgoing direction's x coordinate.
|
abstract float |
getRy()
Deprecated.
Returns the outgoing direction's y coordinate.
|
abstract int |
getSide()
Deprecated.
Returns an int that represents the side.
|
protected abstract double |
getTangentDelta(IlvPoint point1,
IlvPoint point2)
Deprecated.
Returns the tangent delta of two points (usually, two points of a link).
|
protected abstract double |
getToLeft(IlvPoint point,
IlvRect linkConnectionRect,
double tangentDelta)
Deprecated.
Returns the relative delta of
point , after translation with
tangentDelta on a direction tangential to the node side,
in respect to the linkConnectionRect . |
protected abstract void |
moveOutside(IlvPoint point,
double radialDelta)
Deprecated.
Moves
point radially (in respect to the node side orientation) with
radialDelta . |
void |
moveToDefaultConnectionPoint(IlvPoint point,
IlvRect rect)
Deprecated.
Moves a point to the default connection point of the node side.
|
protected abstract boolean |
refineLinksOrthogonalWithPoints(IlvPoint point11,
IlvPoint point12,
IlvPoint point21,
IlvPoint point22,
IlvPoint point23,
double linkWidth1,
double linkWidth2,
boolean isLeft,
boolean firstLinkIsSameSideSelfLink,
int nPoints2,
double linkOffset)
Deprecated.
|
public static IltNodeSide TOP
public static IltNodeSide BOTTOM
public static IltNodeSide LEFT
public static IltNodeSide RIGHT
public static IltNodeSide CENTER
protected abstract Object clone()
public abstract int getSide()
public void moveToDefaultConnectionPoint(IlvPoint point, IlvRect rect)
point
- the connection pointrect
- the link connection rect of the node on which the link is connectedprotected abstract void computeConnectionPoint(IlvRect nodeBBox, ilog.tgo.graphic.graphlayout.IltLinkShape shape, IlvPoint connectionPoint, IlvPoint adjacentPoint, double dist)
protected abstract boolean refineLinksOrthogonalWithPoints(IlvPoint point11, IlvPoint point12, IlvPoint point21, IlvPoint point22, IlvPoint point23, double linkWidth1, double linkWidth2, boolean isLeft, boolean firstLinkIsSameSideSelfLink, int nPoints2, double linkOffset)
protected abstract boolean compareLinks(int category, ilog.tgo.graphic.graphlayout.IltNodeData node, IlvPoint point1, IlvPoint point2, ilog.tgo.graphic.graphlayout.IltLinkData link1, ilog.tgo.graphic.graphlayout.IltLinkData link2)
protected abstract boolean compareLinks(int oppositeSide, IlvPoint point1, IlvPoint point2)
protected abstract int getCategory(ilog.tgo.graphic.graphlayout.IltLinkData link, ilog.tgo.graphic.graphlayout.IltNodeData node)
protected final IlvPoint getReferencePoint(ilog.tgo.graphic.graphlayout.IltLinkData link, ilog.tgo.graphic.graphlayout.IltNodeData node)
protected abstract double getRadialDelta(IlvPoint point1, IlvPoint point2)
protected abstract double getTangentDelta(IlvPoint point1, IlvPoint point2)
protected abstract void moveOutside(IlvPoint point, double radialDelta)
point
radially (in respect to the node side orientation) with
radialDelta
.protected abstract double getToLeft(IlvPoint point, IlvRect linkConnectionRect, double tangentDelta)
point
, after translation with
tangentDelta
on a direction tangential to the node side,
in respect to the linkConnectionRect
.point
- the connection point of the link on the node that has linkConnectionRect
as link connection rectangle.linkConnectionRect
- the link connection rectangle of the nodetangentDelta
- the delta with which we want to move the point.public static IltNodeSide CreateNodeSide(double fx, double 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 static IltNodeSide CreateNodeSide(double fx, double fy, float rx, float ry, double 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 linkspublic double getFx()
public double getFy()
public abstract float getRx()
public abstract float getRy()
public abstract double getOffset()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.