public class CustomEdge extends GEdge
GEdge.Direction
GraphObject.Kind, GraphObject.ObjectIDComparator
arrowEndPoint1, arrowEndPoint2, arrowHeadShape, arrowPoint, edgeAttributes, fromObj, fromPt, midPoint, toObj, toPt
backColor, 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, unCommitFromKnowledgeBase
addHistoryRecord, 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, setUpperLeft
public CustomEdge()
public CustomEdge(GraphObject FromOne, GraphObject ToOne)
public void draw(Graphics2D g, boolean printing)
GraphObject
draw
in class GraphObject
g
- Graphics context on which the object is to be renderedprinting
- Whether to pretty-print the object