public class Pool extends LaneableCluster
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROP_BLACKBOX_POOL
Property if the Pool is a Black Box Pool
|
static java.lang.String |
PROP_MULTI_INSTANCE
Property if this Pool has multiple instances (0=FALSE, 1=TRUE)
|
f_lanes, POOL_LABEL_WIDTH, PROP_VERTICAL
PROP_COLLAPSED, PROP_CONTAINED_NODES
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 |
---|
Pool() |
Pool(int x,
int y,
java.lang.String label) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawMultiInstance(java.awt.Graphics2D g2) |
java.awt.Point |
getConnectionPoint(java.awt.Point to)
Returns the nearest absolute(!)
|
protected java.awt.Shape |
getOutlineShape()
Returns the external shape of the given process node.
|
protected void |
init() |
boolean |
isCollapsed() |
boolean |
isContainedGraphically(java.util.List<ProcessNode> nodes,
ProcessNode node,
boolean onTopRequired)
Returns whether a certain ProcessNode is graphically contained or not.
|
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.
|
java.lang.String |
toString() |
addLane, drawLanes, getLanes, getLanesRecursively, getMyPosition, getMySize, isVertical, removeLane
addProcessNode, clearContainment, clone, getProcessNodes, getProcessNodesRecursivly, isCluster, isCollapseable, isContained, moveClusterNodes, removeProcessNode, setPos, setPosIgnoreContainedNodes, setProcessNodes, updateContainments
addConnectionPoint, checkDefaultConnectionPoints, connectionPointContained, contains, containsDeepInside, copy, getBackground, getBackground, getBoundingBox, getBounds, getConnectionPoint, getConnectionPoint, getDefaultConnectionPoints, getName, getParentClusters, getPos, getSelectionOffset, getSize, getStereotype, getText, getTopLeftPos, getUserObject, getVariants, getXmlTag, handleCloning, isShadowEnabled, isVisible, newInstanceFromSerialization, paint, paintHighlight, paintSelection, removeAllConnectionPoints, setBackground, setPos, 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_BLACKBOX_POOL
public static final java.lang.String PROP_MULTI_INSTANCE
protected void init()
init
in class LaneableCluster
public void setProperty(java.lang.String key, java.lang.String value)
ProcessObject
setProperty
in class LaneableCluster
public java.awt.Point getConnectionPoint(java.awt.Point to)
ProcessNode
getConnectionPoint
in class ProcessNode
public void paintInternal(java.awt.Graphics g)
ProcessNode
paintInternal
in class LaneableCluster
protected java.awt.Shape getOutlineShape()
ProcessNode
getOutlineShape
in class LaneableCluster
public boolean isContainedGraphically(java.util.List<ProcessNode> nodes, ProcessNode node, boolean onTopRequired)
isContainedGraphically
in class Cluster
protected void drawMultiInstance(java.awt.Graphics2D g2)
g2
- public boolean isCollapsed()
isCollapsed
in class Cluster