public class DummyNode extends DiagramNode
DiagramLink
.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
brush, cycleDetected, cycleProtect, modifyDX, modifyDY, modifyHandle, modifying, pen, ptEnd, ptMdfLast, ptOrg, ptSavedEnd, ptSavedOrg, subordinateGroup
Modifier and Type | Method and Description |
---|---|
boolean |
containsPoint(android.graphics.PointF pt)
|
ConnectionPoint |
createConnectionPoint(DiagramLink link,
android.graphics.PointF pt,
boolean incoming) |
void |
draw(android.graphics.Canvas g,
RenderOptions options)
|
protected void |
drawShadow(android.graphics.Canvas g,
RenderOptions options)
|
android.graphics.PointF |
getIntersection(android.graphics.PointF ptOrg,
android.graphics.PointF ptEnd) |
AdjustmentHandle |
hitTestHandle(android.graphics.PointF point)
DiagramNode#HitTestHandle override. |
protected void |
onUpdateBounds()
Invoked when the bounding rectangle of this node has changed.
|
allowCreate, allowModify, allowModifyImpl, 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, getLocalCenter, getMasterGroup, getObstacle, getOutgoingLinks, getRepaintRect, getRotatedBounds, getRotationAngle, groupContains, loadFromXml, move, moveTo, nodesIntersect, onDragOut, onDragOver, onDropOver, onModify, onRemove, onRotationAngleChanged, parentConstraintsInfringed, putExpandable, readExternal, rectFromPoints, resize, resizeToFitImage, restoreProperties, restoreState, saveProperties, saveState, saveToXml, scaleElements, setAllowIncomingLinks, setAllowOutgoingLinks, setAnchorPattern, setBounds, setBounds, setBounds, setBoundsDirect, setConstraints, setEnabledHandles, setExpandable, setExpanded, setExpandedFlag, setHandlesStyle, setObstacle, setReflexive, setRotationAngle, shouldRenderAnchors, startCreate, startModify, updateCreate, updateLinkPositions, updateModify, writeExternal
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, onMeasureUnitChanged, 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
public DummyNode(Diagram flowChart)
public void draw(android.graphics.Canvas g, RenderOptions options)
DiagramNode
DiagramItem.draw(android.graphics.Canvas, com.mindfusion.diagramming.RenderOptions)
override. Draws this node on the specified Canvas surface.draw
in class DiagramNode
g
- An android.graphics.Canvas instance.options
- Provides options for the drawing operation.protected void drawShadow(android.graphics.Canvas g, RenderOptions options)
DiagramNode
DiagramItem.drawShadow(android.graphics.Canvas, com.mindfusion.diagramming.RenderOptions)
override. Draws the node's shadow on the specified Canvas surface.drawShadow
in class DiagramNode
g
- An android.graphics.Canvas instance.options
- Provides options for the drawing operation.public boolean containsPoint(android.graphics.PointF pt)
DiagramNode
DiagramItem.containsPoint(android.graphics.PointF)
override. Checks whether this node
contains the specified point. This method is called during hit-testing to determine
if the pointer is over the node.containsPoint
in class DiagramNode
pt
- The point to check.public AdjustmentHandle hitTestHandle(android.graphics.PointF point)
DiagramNode#HitTestHandle
override.hitTestHandle
in class DiagramNode
point
- A PointF instance specifying the location where to look for adjustment handles.NodeAdjustmentHandle
instance representing the adjustment
handle found at the specified location, or null if there is none.public ConnectionPoint createConnectionPoint(DiagramLink link, android.graphics.PointF pt, boolean incoming)
createConnectionPoint
in class DiagramNode
protected void onUpdateBounds()
DiagramNode
onUpdateBounds
in class DiagramNode
public android.graphics.PointF getIntersection(android.graphics.PointF ptOrg, android.graphics.PointF ptEnd)