public class GenSpecLink 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 |
---|
GenSpecLink() |
GenSpecLink(GraphObject FromOne,
GraphObject ToOne) |
Modifier and Type | Method and Description |
---|---|
void |
abandonObject()
Does everything but the actual removal (de-allocation)
|
boolean |
commitToKnowledgeBase(KnowledgeBase kb)
needed for GraphLayout interface
|
void |
deleteGenSpecLinkFromKB(KnowledgeBase kb) |
void |
draw(Graphics2D g,
boolean printing)
Draws a coref link on the given graphics context.
|
boolean |
unCommitFromKnowledgeBase(KnowledgeBase kb)
Subclasses will implement this method in order to perform whatever
object-specific actions are appropriate for removing this object from the
knowledge base.
|
areLinked, detachFromGNodes, drawArrowHead, drawBorder, finalize, findClippingPoint, findClippingPointRectangle, findClippingPointShape, getArrowHeadHeight, getArrowHeadWidth, getEdgeThickness, getLength, getObjectShapeForClipping, getShape, howLinked, initializeArrowHead, linkedTo, makeArrowPoints, makeArrowPoints, placeEdge, setArrowHeadHeight, setArrowHeadWidth, setColor, setEdgeThickness, toString
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 GenSpecLink()
public GenSpecLink(GraphObject FromOne, GraphObject ToOne)
public void draw(Graphics2D g, boolean printing)
draw
in class GraphObject
g
- graphics context on which to drawprinting
- if true, then inhibit drawing the selection handle.public void abandonObject()
GEdge
abandonObject
in class GEdge
public boolean commitToKnowledgeBase(KnowledgeBase kb)
GEdge
commitToKnowledgeBase
in class GEdge
public boolean unCommitFromKnowledgeBase(KnowledgeBase kb)
GraphObject
unCommitFromKnowledgeBase
in class GEdge
public void deleteGenSpecLinkFromKB(KnowledgeBase kb)
kb
- The knowledge base in which these objects are recorded.