public class Note extends GNode
GraphObject.Kind, GraphObject.ObjectIDComparator
Modifier and Type | Field and Description |
---|---|
private static int |
cornerFold |
borderOutlineWidth, dashpattern, descriptors, mark, myedges, showBoringDebugInfoFont, typeLabel
backColor, defaultDim, defaultSelectColor, defaultWrapColumns, defaultWrapLabels, displayRect3D, foreColor, highlightColor, history, isSelected, labelFont, myKind, objectID, objectMargin, ownerGraph, TerritorialLimit, textLabel, textLabelLowerLeftPt
Constructor and Description |
---|
Note() |
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics2D g,
boolean printing)
Draws a concept on the given graphics context.
|
Shape |
getShape()
A note is a rectangle with a "dog ear" (similar to UML note) that is
inscribed within its displayRect.
|
abandonObject, adjustEdges, attachGEdge, CGIFStringGNodeEdges, clearDescriptors, deleteGEdge, drawActivated, drawBorder, drawDebuggingInfo, finalize, getDisplayRect, getEdges, getLinkedNodes, getLinkedNodes, getSize, getTypeDescriptor, getTypeDescriptors, getTypeLabel, isActive, isChanged, setActive, setCenter, setCenter, setChanged, setTypeDescriptor, setTypeDescriptors, setTypeLabel, setTypeLabel
addHistoryRecord, adjustCustomDisplayRect, commitToKnowledgeBase, findDominantContext, forceMove, forgetObject, getBestFontMetrics, getCenter, getColor, getDepth, getDim, getDisplayRect3D, getHistory, getLabelFont, getMinimumContentSize, getObjectLocator, getOutermostGraph, getOwnerFrame, getOwnerGraph, getShapeForDrawing, getTextLabel, getTextLabelSize, getUpperLeft, getWrapColumns, getWrapLabels, isNegated, isNegativelyNested, listToString, listToStringXML, putInCorrectContext, putInCorrectContext, resizeIfNecessary, resizeIfNecessary, selfCleanup, setBackground, setCenterOnly, setColor, setColor, setDepth, setDim, setDim, setDisplayRect, setDisplayRect, setDisplayRect3D, setForeground, setLabelFont, setNegated, setOwnerGraph, setTextLabel, setTextLabel, setTextLabel, setUpperLeft, setUpperLeft, toString, unCommitFromKnowledgeBase
private static final int cornerFold
public Shape getShape()
getShape
in class GraphObject
GraphObject.getShape()