public class IntermediateEvent extends Event implements AttachedNode
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EVENT_NON_INTERRUPTING_FALSE |
static java.lang.String |
EVENT_NON_INTERRUPTING_TRUE |
static java.lang.String |
EVENT_SUBTYPE_CATCHING
Catching Intermediate Event
|
static java.lang.String |
EVENT_SUBTYPE_THROWING
Throwing Intermediate Event
|
static java.lang.String |
PROP_EVENT_SUBTYPE
The sub-type of the event.
|
static java.lang.String |
PROP_NON_INTERRUPTING
The interruption type of the event.
|
static java.lang.String |
PROP_SOURCE_NODE
The parent node
|
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 |
---|
IntermediateEvent() |
IntermediateEvent(int x,
int y,
java.lang.String label) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawMarker(java.awt.Graphics2D g2) |
ProcessNode |
getParentNode(ProcessModel model)
Returns the ProcessNode this AttachedNode belongs to.
|
java.lang.String |
getParentNodeId()
Returns the id of the parent node.
|
java.util.List<java.lang.Class<? extends ProcessNode>> |
getVariants()
Returns the list of variants for this node, e.g. the node types
that can be used to refactor this node.
|
protected void |
handleCloning(java.util.Map<java.lang.String,java.lang.String> localIdMap)
hook so new classes can take special actions after cloning
|
protected void |
initializeProperties() |
boolean |
isThrowable()
tells you whether this intermediate event can be set to a throwing state or not
|
void |
paintInternal(java.awt.Graphics g)
Paints the flow object on the given graphics.
|
void |
setParentNode(ProcessNode node)
Sets the parent node.
|
void |
setProperty(java.lang.String key,
java.lang.String value)
Sets a property.
|
void |
setThrowable(boolean value) |
java.lang.String |
toString() |
drawCancel, drawCompensation, drawConditional, drawError, drawEscalation, drawEventBasicShape, drawLink, drawMessage, drawMultiple, drawParallel, drawSignal, drawTerminate, drawTimer, getBoundingBox, getEventTypeFillColor, getEventTypeOutlineColor, getMultiplePolygon, getOutlineShape, setEventTypeFillColor, setEventTypeOutlineColor
setSize
addConnectionPoint, checkDefaultConnectionPoints, clone, connectionPointContained, contains, containsDeepInside, copy, getBackground, getBackground, getBounds, getConnectionPoint, getConnectionPoint, getConnectionPoint, getDefaultConnectionPoints, getName, getParentClusters, getPos, getSelectionOffset, getSize, getStereotype, getText, getTopLeftPos, getUserObject, getXmlTag, isCluster, isShadowEnabled, isVisible, newInstanceFromSerialization, paint, paintHighlight, paintSelection, removeAllConnectionPoints, setBackground, setPos, setPos, setShadowEnabled, 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
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPos, getSize, setPos, setSize
public static final java.lang.String PROP_EVENT_SUBTYPE
public static final java.lang.String EVENT_SUBTYPE_CATCHING
public static final java.lang.String EVENT_SUBTYPE_THROWING
public static final java.lang.String PROP_NON_INTERRUPTING
public static final java.lang.String EVENT_NON_INTERRUPTING_FALSE
public static final java.lang.String EVENT_NON_INTERRUPTING_TRUE
public static final java.lang.String PROP_SOURCE_NODE
public IntermediateEvent()
public IntermediateEvent(int x, int y, java.lang.String label)
protected void initializeProperties()
public boolean isThrowable()
public void setThrowable(boolean value)
public void setProperty(java.lang.String key, java.lang.String value)
ProcessObject
setProperty
in class Event
public void paintInternal(java.awt.Graphics g)
ProcessNode
paintInternal
in class Event
protected void drawMarker(java.awt.Graphics2D g2)
g2
- public java.util.List<java.lang.Class<? extends ProcessNode>> getVariants()
ProcessNode
getVariants
in class ProcessNode
public ProcessNode getParentNode(ProcessModel model)
AttachedNode
getParentNode
in interface AttachedNode
protected void handleCloning(java.util.Map<java.lang.String,java.lang.String> localIdMap)
ProcessNode
handleCloning
in class ProcessNode
public void setParentNode(ProcessNode node)
AttachedNode
setParentNode
in interface AttachedNode
public java.lang.String getParentNodeId()
AttachedNode
getParentNodeId
in interface AttachedNode