public class EdgeDocker extends ProcessNode
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_DOCKED_EDGE |
PROP_ANNOTATION, PROP_BACKGROUND, PROP_HEIGHT, PROP_LABEL, PROP_MODULEID, PROP_REF, PROP_SHADOW, PROP_STEREOTYPE, PROP_TEXT, PROP_WIDTH, PROP_XPOS, PROP_YPOS, TAG_NODE, userObject
contexts, FALSE, PROP_CLASS_TYPE, PROP_ID, TRUE
Constructor and Description |
---|
EdgeDocker() |
EdgeDocker(ProcessEdge edge) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.awt.Point> |
getDefaultConnectionPoints()
Returns the default connection points for this node.
|
ProcessEdge |
getDockedEdge() |
protected java.awt.Shape |
getOutlineShape()
Returns the external shape of the given process node.
|
java.awt.Point |
getPos()
Overwritten to return the default docking position at the edge.
|
protected void |
paintInternal(java.awt.Graphics g)
Paints the flow object on the given graphics.
|
void |
setDockedEdge(ProcessEdge edge) |
java.lang.String |
toString() |
addConnectionPoint, checkDefaultConnectionPoints, clone, connectionPointContained, contains, containsDeepInside, copy, getBackground, getBackground, getBoundingBox, getBounds, getConnectionPoint, getConnectionPoint, getConnectionPoint, getName, getParentClusters, getSelectionOffset, getSize, getStereotype, getText, getTopLeftPos, getUserObject, getVariants, getXmlTag, handleCloning, isCluster, isShadowEnabled, isVisible, newInstanceFromSerialization, paint, paintHighlight, paintSelection, removeAllConnectionPoints, setBackground, setPos, setPos, setProperty, setShadowEnabled, setSize, setSize, setStereotype, setText, setUserObject, setVisible, updateReferences
addContext, addListener, equals, getAlpha, getContexts, getId, getPropertyEditor, isHighlighted, isSelected, removeContext, removeListener, setAlpha, setHighlighted, setId, setPropertyEditor, setSelected
getProperty, getPropertyKeys, getSerialization, removeProperty
public static final java.lang.String PROP_DOCKED_EDGE
public EdgeDocker()
public EdgeDocker(ProcessEdge edge)
public java.awt.Point getPos()
getPos
in interface Dragable
getPos
in class ProcessNode
public java.util.Set<java.awt.Point> getDefaultConnectionPoints()
ProcessNode
getDefaultConnectionPoints
in class ProcessNode
public void setDockedEdge(ProcessEdge edge)
public ProcessEdge getDockedEdge()
protected void paintInternal(java.awt.Graphics g)
ProcessNode
paintInternal
in class ProcessNode
protected java.awt.Shape getOutlineShape()
ProcessNode
getOutlineShape
in class ProcessNode
public java.lang.String toString()
toString
in class ProcessNode