public class Coref extends GEdge
GEdge.DirectionGraphObject.Kind, GraphObject.ObjectIDComparator| Modifier and Type | Field and Description |
|---|---|
private float[] |
dashpattern |
arrowEndPoint1, 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 |
|---|
Coref()
Create a coref connecting nothing
|
Coref(GraphObject FromOne,
GraphObject ToOne)
Create a coref edge between two objects.
|
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Graphics2D g,
boolean printing)
Draws a coref link on the given graphics context.
|
static void |
updateAllCorefsForCharger(Graph g) |
static void |
updateForCharGer(Concept corefMember)
Create a CharGer Coref link from the given CharGer concept.
|
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 Coref()
public Coref(GraphObject FromOne, GraphObject ToOne)
FromOne - one of the objectsToOne - the other objectpublic 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 static void updateForCharGer(Concept corefMember)
corefMember - a potential member of a co-referent set; if not a
member, nothing happenspublic static void updateAllCorefsForCharger(Graph g)