public class GenSpecLink 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 |
|---|
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, toStringaddHistoryRecord, 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 GenSpecLink()
public GenSpecLink(GraphObject FromOne, GraphObject ToOne)
public void draw(Graphics2D g,
boolean printing)
draw in class GraphObjectg - graphics context on which to drawprinting - if true, then inhibit drawing the selection handle.public void abandonObject()
GEdgeabandonObject in class GEdgepublic boolean commitToKnowledgeBase(KnowledgeBase kb)
GEdgecommitToKnowledgeBase in class GEdgepublic boolean unCommitFromKnowledgeBase(KnowledgeBase kb)
GraphObjectunCommitFromKnowledgeBase in class GEdgepublic void deleteGenSpecLinkFromKB(KnowledgeBase kb)
kb - The knowledge base in which these objects are recorded.