public class Gateway extends QuadraticFlowObject
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 |
---|
Gateway() |
Gateway(int x,
int y,
java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawANDGateway(java.awt.Graphics2D g2) |
protected void |
drawComplexGateway(java.awt.Graphics2D g2) |
protected void |
drawGateway(java.awt.Graphics g) |
protected void |
drawInitiatingParallelEventGateway(java.awt.Graphics2D g) |
protected void |
drawInitiatingXOREventGateway(java.awt.Graphics2D g) |
protected void |
drawMarker(java.awt.Graphics2D g2) |
protected void |
drawORGateway(java.awt.Graphics2D g) |
protected void |
drawXOREventGateway(java.awt.Graphics2D g) |
protected void |
drawXORGateway(java.awt.Graphics2D g2) |
java.awt.Rectangle |
getBoundingBox()
Returns the bounding box for this ProcessNode.
|
protected java.awt.Shape |
getOutlineShape()
Returns the external shape of the given process node.
|
java.lang.String |
getType() |
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 |
paintInternal(java.awt.Graphics g)
Paints the flow object on the given graphics.
|
void |
setProperty(java.lang.String key,
java.lang.String value)
Sets a property.
|
void |
setType(java.lang.String type) |
java.lang.String |
toString() |
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, handleCloning, 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
public Gateway()
public Gateway(int x, int y, java.lang.String text)
public void setProperty(java.lang.String key, java.lang.String value)
ProcessObject
setProperty
in class ProcessNode
protected java.awt.Shape getOutlineShape()
ProcessNode
getOutlineShape
in class ProcessNode
public java.lang.String getType()
public void setType(java.lang.String type)
protected void paintInternal(java.awt.Graphics g)
ProcessNode
paintInternal
in class ProcessNode
protected void drawMarker(java.awt.Graphics2D g2)
g2
- protected void drawGateway(java.awt.Graphics g)
protected void drawXORGateway(java.awt.Graphics2D g2)
protected void drawComplexGateway(java.awt.Graphics2D g2)
protected void drawANDGateway(java.awt.Graphics2D g2)
protected void drawInitiatingXOREventGateway(java.awt.Graphics2D g)
g
- protected void drawInitiatingParallelEventGateway(java.awt.Graphics2D g)
g
- protected void drawXOREventGateway(java.awt.Graphics2D g)
g
- protected void drawORGateway(java.awt.Graphics2D g)
g
- public java.awt.Rectangle getBoundingBox()
ProcessNode
getBoundingBox
in class ProcessNode
public java.util.List<java.lang.Class<? extends ProcessNode>> getVariants()
ProcessNode
getVariants
in class ProcessNode
public java.lang.String toString()
toString
in class ProcessNode