public class CustomEdge extends GEdge
GEdge.DirectionGraphObject.Kind, GraphObject.ObjectIDComparatorarrowEndPoint1, arrowEndPoint2, arrowHeadShape, arrowPoint, edgeAttributes, fromObj, fromPt, midPoint, toObj, toPtbackColor, defaultDim, defaultSelectColor, defaultWrapColumns, defaultWrapLabels, displayRect3D, foreColor, highlightColor, history, isSelected, labelFont, myKind, objectID, objectMargin, ownerGraph, TerritorialLimit, textLabel, textLabelLowerLeftPt| Constructor and Description |
|---|
CustomEdge() |
CustomEdge(GraphObject FromOne,
GraphObject ToOne) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Graphics2D g,
boolean printing)
Render the object with adjustments as necessary
|
abandonObject, areLinked, commitToKnowledgeBase, detachFromGNodes, drawArrowHead, drawBorder, finalize, findClippingPoint, findClippingPointRectangle, findClippingPointShape, getArrowHeadHeight, getArrowHeadWidth, getEdgeThickness, getLength, getObjectShapeForClipping, getShape, howLinked, initializeArrowHead, linkedTo, makeArrowPoints, makeArrowPoints, placeEdge, setArrowHeadHeight, setArrowHeadWidth, setColor, setEdgeThickness, toString, unCommitFromKnowledgeBaseaddHistoryRecord, adjustCustomDisplayRect, findDominantContext, forceMove, forgetObject, getBestFontMetrics, getCenter, getColor, getDepth, getDim, getDisplayRect, getDisplayRect3D, getHistory, getLabelFont, getMinimumContentSize, getObjectLocator, getOutermostGraph, getOwnerFrame, getOwnerGraph, getShapeForDrawing, getTextLabel, getTextLabelSize, getUpperLeft, getWrapColumns, getWrapLabels, isNegated, isNegativelyNested, listToString, listToStringXML, putInCorrectContext, putInCorrectContext, resizeIfNecessary, resizeIfNecessary, selfCleanup, setBackground, setCenter, setCenterOnly, setColor, setDepth, setDim, setDim, setDisplayRect, setDisplayRect, setDisplayRect3D, setForeground, setLabelFont, setNegated, setOwnerGraph, setTextLabel, setTextLabel, setTextLabel, setUpperLeft, setUpperLeftpublic CustomEdge()
public CustomEdge(GraphObject FromOne, GraphObject ToOne)
public void draw(Graphics2D g,
boolean printing)
GraphObjectdraw in class GraphObjectg - Graphics context on which the object is to be renderedprinting - Whether to pretty-print the object