com.mindfusion.diagramming
Class DummyNode

java.lang.Object
  extended by com.mindfusion.diagramming.DiagramItem
      extended by com.mindfusion.diagramming.DiagramNode
          extended by com.mindfusion.diagramming.DummyNode
All Implemented Interfaces:
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

Field Summary
 
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, modifyDX, modifyDY, modifyHandle, modifying, pen, ptEnd, ptMdfLast, ptOrg, ptSavedEnd, ptSavedOrg, subordinateGroup
 
Constructor Summary
DummyNode(Diagram flowChart)
           
 
Method Summary
 boolean containsPoint(java.awt.geom.Point2D pt)
          DiagramItem.containsPoint override.
 ConnectionPoint createConnectionPoint(DiagramLink arrow, java.awt.geom.Point2D pt, boolean incoming)
           
protected  void draw(java.awt.Graphics2D g, RenderOptions options)
           
protected  void drawShadow(java.awt.Graphics2D g, RenderOptions options)
           
 java.awt.geom.Point2D getIntersection(java.awt.geom.Point2D ptOrg, java.awt.geom.Point2D ptEnd)
           
protected  void onUpdateBounds()
          Invoked when the bounding rectangle of the node has changed.
 
Methods inherited from class com.mindfusion.diagramming.DiagramNode
allowCreate, allowModify, attachTo, attachTo, attachTo, cancelModify, completeCreate, completeModify, constraintsInfringed, containsPoint, createProperties, createState, detach, drawLocal, drawShadowLocal, getAllIncomingLinks, getAllLinks, getAllOutgoingLinks, getAllowIncomingLinks, getAllowOutgoingLinks, getAnchorPattern, getBounds, getCenter, getConstraints, getEffects, getEnabledHandles, getExpandable, getExpanded, getHandlesStyle, getIncomingLinks, getLocalBounds, getLocalBoundsD, getMasterGroup, getObstacle, getOutgoingLinks, getRepaintRect, getRotatedBounds, getRotationAngle, groupContains, loadFromXml, move, moveTo, nodesIntersect, onDragOut, onDragOver, onDropOver, onRemove, onRotationAngleChanged, putExpandable, readExternal, rectFromPoints, resize, resizeToFitImage, restoreProperties, restoreState, saveProperties, saveState, saveToXml, setAllowIncomingLinks, setAllowOutgoingLinks, setAnchorPattern, setBounds, setBounds, setBoundsDirect, setConstraints, setEnabledHandles, setExpandable, setExpanded, setExpandedFlag, setHandlesStyle, setObstacle, setReflexive, setRotationAngle, shouldRenderAnchors, startCreate, startModify, updateCreate, updateLinkPositions, updateModify, writeExternal
 
Methods inherited from class com.mindfusion.diagramming.DiagramItem
clone, getBrush, getEffectiveBrush, getEffectiveFont, getEffectivePen, getEffectiveShadowBrush, getEffectiveTextBrush, getFont, getHyperLink, getId, getIgnoreLayout, getLayerIndex, getLayoutTraits, getLocked, getMeasureUnit, getParent, getPen, getPrintable, getRuntimeIndex, getSelected, getShadowBrush, getShadowOffsetX, getShadowOffsetY, getStyle, getSubordinateGroup, getTag, getTextBrush, getTextPadding, getToolTip, getValue, getVisible, getWeight, getZIndex, hasSubordinates, onAdd, onChangeFont, onChangeTextPadding, onChildModified, onClick, onDoubleClick, onLoad, onModify, onStyleChanged, putSelected, query, repaint, repaint, repaint, setBrush, setDiagramDirty, setFont, setHyperLink, setId, setIgnoreLayout, setLayerIndex, setLocked, setPen, setPrintable, setSelected, setShadowBrush, setShadowOffsetX, setShadowOffsetY, setStyle, setTag, setTextBrush, setTextPadding, 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
 

Constructor Detail

DummyNode

public DummyNode(Diagram flowChart)
Method Detail

draw

protected void draw(java.awt.Graphics2D g,
                    RenderOptions options)
Overrides:
draw in class DiagramNode

drawShadow

protected void drawShadow(java.awt.Graphics2D g,
                          RenderOptions options)
Overrides:
drawShadow in class DiagramNode

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 ConnectionPoint createConnectionPoint(DiagramLink arrow,
                                             java.awt.geom.Point2D pt,
                                             boolean incoming)
Overrides:
createConnectionPoint in class DiagramNode

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)