public class MessageFlowWithEnvelope extends MessageFlow
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_ENVELOPE_LABEL
property for the label of the envelope
|
static java.lang.String |
PROP_INITIATING
property for determining, wheter the envelope should be marked as initiating
(white background) or not (grey background).
|
messageFlowArrow, xArrowPoints, yArrowPoints
PROP_COLOR_ARC, PROP_LABEL, PROP_LABELOFFSET, PROP_POINTS, PROP_SOURCE_DOCKPOINT, PROP_SOURCENODE, PROP_TARGET_DOCKPOINT, PROP_TARGETNODE, routingPointCache, TAG_EDGE
contexts, FALSE, PROP_CLASS_TYPE, PROP_ID, TRUE
Constructor and Description |
---|
MessageFlowWithEnvelope()
creates an intiating MessageFlow, with an empty envelope label.
|
MessageFlowWithEnvelope(ProcessNode source,
ProcessNode target)
creates an intiating MessageFlow, with an empty envelope label starting
at source and ending at target
|
MessageFlowWithEnvelope(ProcessNode source,
ProcessNode target,
java.lang.String envelopeLabel,
boolean initiating) |
Modifier and Type | Method and Description |
---|---|
MessageFlowWithEnvelope |
clone() |
void |
clonePropertiesFrom(ProcessEdge edge)
Clones all properties from this ProcessEdge, including ID and TYPE.
|
void |
copyPropertiesFrom(ProcessEdge edge)
Copies the properties from this ProcessEdge, without ID and Type.
|
java.lang.String |
getEnvelopeLabel() |
boolean |
getInitiating() |
org.w3c.dom.Element |
getSerialization(org.w3c.dom.Document xmlDoc) |
boolean |
isInitiating() |
void |
paint(java.awt.Graphics graphics)
Draws the edge.
|
void |
setEnvelopeLabel(java.lang.String envelopeLabel) |
void |
setInitiating(boolean initiating)
sets property PROP_INITIATING, which states, wheter the envelope on this
edge should be shown as initiating or not.
|
getLineStroke, getSourceShape, getTargetShape, isDockingSupported, isOutlineSourceArrow, isOutlineTargetArrow
addRoutingPoint, addRoutingPoint, clearRoutingPoints, clearSourceDockPointOffset, clearTargetDockPointOffset, distanceToEdge, drawSourceArrow, drawTargetArrow, getColor, getCurve, getDockPointOffset, getLabel, getLabelHelper, getLabelOffset, getLabelPosition, getName, getRoutingPoint, getRoutingPoints, getRoutingPointShapes, getSource, getSourceDockPointOffset, getTarget, getTargetDockPointOffset, getXmlTag, moveRoutingPoint, newInstanceFromSerialization, paintInternal, paintSelection, removeRoutingPoint, setColor, setDockPointOffset, setLabel, setLabelOffset, setRoutingPoints, setSource, setSourceDockPointOffset, setTarget, setTargetDockPointOffset, toString, updateCache
addContext, addListener, equals, getAlpha, getContexts, getId, getPropertyEditor, isHighlighted, isSelected, removeContext, removeListener, setAlpha, setHighlighted, setId, setProperty, setPropertyEditor, setSelected
getProperty, getPropertyKeys, removeProperty
public static final java.lang.String PROP_ENVELOPE_LABEL
public static final java.lang.String PROP_INITIATING
public MessageFlowWithEnvelope()
public MessageFlowWithEnvelope(ProcessNode source, ProcessNode target)
public MessageFlowWithEnvelope(ProcessNode source, ProcessNode target, java.lang.String envelopeLabel, boolean initiating)
public org.w3c.dom.Element getSerialization(org.w3c.dom.Document xmlDoc)
getSerialization
in class SerializableProcessObject
public void setEnvelopeLabel(java.lang.String envelopeLabel)
public java.lang.String getEnvelopeLabel()
public void setInitiating(boolean initiating)
public boolean isInitiating()
public boolean getInitiating()
public void paint(java.awt.Graphics graphics)
ProcessEdge
paint
in class ProcessEdge
public void copyPropertiesFrom(ProcessEdge edge)
ProcessEdge
copyPropertiesFrom
in class ProcessEdge
clonePropertiesFrom()
public void clonePropertiesFrom(ProcessEdge edge)
ProcessEdge
clonePropertiesFrom
in class ProcessEdge
copyPropertiesFrom()
public MessageFlowWithEnvelope clone()
clone
in class ProcessEdge