com.mindfusion.diagramming
Class DummyNode
java.lang.Object
com.mindfusion.diagramming.DiagramItem
com.mindfusion.diagramming.DiagramNode
com.mindfusion.diagramming.DummyNode
- All Implemented Interfaces:
- InplaceEditable, java.io.Externalizable, java.io.Serializable
public class DummyNode
- extends DiagramNode
Represents the origin and/or destination of an unconnected DiagramLink
.
- See Also:
- Serialized Form
Fields inherited from class com.mindfusion.diagramming.DiagramNode |
allowIncomingLinks, allowOutgoingLinks, anchorPattern, AV_Cancel, AV_EndModIncoming, AV_EndModOutgoing, AV_StartModIncoming, AV_StartModOutgoing, AV_UpdateIncoming, AV_UpdateOutgoing, AV_UpdIntscIncoming, AV_UpdIntscOutgoing, AV_UpdPosIncoming, AV_UpdPosOutgoing, bounds, enabledHandles, handlesStyle, incomingLinks, masterGroup, obstacle, outgoingLinks, savedBounds |
Fields inherited from class com.mindfusion.diagramming.DiagramItem |
brush, cycleDetected, cycleProtect, font, hyperLink, ignoreLayout, locked, modifyDX, modifyDY, modifyHandle, modifying, pen, printable, ptEnd, ptMdfLast, ptOrg, ptSavedEnd, ptSavedOrg, selected, shadowColor, shadowOffsetX, shadowOffsetY, subordinateGroup, tag, toolTip, visible, zIndex |
Methods inherited from class com.mindfusion.diagramming.DiagramNode |
allowCreate, allowModify, attachTo, attachTo, attachTo, cancelModify, completeCreate, completeModify, constraintsInfringed, containsPoint, createProperties, createState, detach, getAllowIncomingLinks, getAllowOutgoingLinks, getAnchorPattern, getBounds, getConstraints, getEnabledHandles, getExpandable, getExpanded, getHandlesStyle, getIncomingLinks, getMasterGroup, getObstacle, getOutgoingLinks, groupContains, loadFromXml, move, moveTo, nodesIntersect, onDragOut, onDragOver, onDropOver, onRemove, putExpandable, readExternal, rectFromPoints, resize, resizeToFitImage, restoreProperties, restoreState, saveProperties, saveState, saveToXml, setAllowIncomingLinks, setAllowOutgoingLinks, setAnchorPattern, setBounds, setBounds, setConstraints, setEnabledHandles, setExpandable, setExpanded, setExpandedFlag, setHandlesStyle, setObstacle, setReflexive, shouldRenderAnchors, startCreate, startModify, updateCreate, updateLinkPositions, updateModify, writeExternal |
Methods inherited from class com.mindfusion.diagramming.DiagramItem |
clone, getBrush, getFont, getHyperLink, getIgnoreLayout, getLayoutTraits, getLocked, getMeasureUnit, getParent, getPen, getPrintable, getSelected, getShadowColor, getShadowOffsetX, getShadowOffsetY, getSubordinateGroup, getTag, getToolTip, getVisible, getWeight, getZIndex, hasSubordinates, onAdd, onChangeFont, onChildModified, onClick, onDoubleClick, onModify, putSelected, repaint, repaint, repaint, setBrush, setDiagramDirty, setFont, setHyperLink, setIgnoreLayout, setLocked, setPen, setPrintable, setSelected, setShadowColor, setShadowOffsetX, setShadowOffsetY, setTag, setToolTip, setVisible, setWeight, setZIndex, shouldRender, zBottom, zLevelDown, zLevelUp, zTop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyNode
public DummyNode(Diagram flowChart)
draw
protected void draw(java.awt.Graphics2D g,
RenderOptions options)
- Specified by:
draw
in class DiagramItem
drawShadow
protected void drawShadow(java.awt.Graphics2D g,
RenderOptions options)
- Specified by:
drawShadow
in class DiagramItem
containsPoint
public boolean containsPoint(java.awt.geom.Point2D pt)
- Description copied from class:
DiagramNode
- DiagramItem.containsPoint override.
- Overrides:
containsPoint
in class DiagramNode
- Parameters:
pt
- The point to check.
- Returns:
- true it this item contains the specified point; otherwise, false.
createConnectionPoint
public com.mindfusion.diagramming.ConnectionPoint createConnectionPoint(DiagramLink arrow,
java.awt.geom.Point2D pt,
boolean incoming)
- Overrides:
createConnectionPoint
in class DiagramNode
getTextToEdit
public java.lang.String getTextToEdit()
setEditedText
public void setEditedText(java.lang.String newText)
getEditRect
public java.awt.geom.Rectangle2D.Float getEditRect(java.awt.geom.Point2D mousePosition)
onUpdateBounds
protected void onUpdateBounds()
- Description copied from class:
DiagramNode
- Invoked when the bounding rectangle of the node has changed.
- Overrides:
onUpdateBounds
in class DiagramNode
getIntersection
public java.awt.geom.Point2D getIntersection(java.awt.geom.Point2D ptOrg,
java.awt.geom.Point2D ptEnd)