public class ToolDocker extends ProcessNode
Modifier and Type | Field and Description |
---|---|
double |
DEFAULT_RADIUS |
static java.lang.String |
PROP_LEFT_DOCKER |
static java.lang.String |
PROP_PARENT_ID |
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 |
---|
ToolDocker()
for serialization
|
ToolDocker(Tool parent,
boolean left) |
Modifier and Type | Method and Description |
---|---|
void |
addContext(ProcessModel context)
Adds a context (ProcessModel) to this ProcessObject.
|
java.util.Set<java.awt.Point> |
getDefaultConnectionPoints()
Returns the default connection points for this node.
|
boolean |
getLeft() |
protected java.awt.Shape |
getOutlineShape()
Returns the external shape of the given process node.
|
Tool |
getParent() |
protected void |
paintInternal(java.awt.Graphics g)
Paints the flow object on the given graphics.
|
void |
setLeft(boolean left) |
void |
setPos(int x,
int y)
Sets the center position of this ProcessNode.
|
void |
setSize(int w,
int h) |
addConnectionPoint, checkDefaultConnectionPoints, clone, connectionPointContained, contains, containsDeepInside, copy, getBackground, getBackground, getBoundingBox, getBounds, getConnectionPoint, getConnectionPoint, getConnectionPoint, getName, getParentClusters, getPos, getSelectionOffset, getSize, getStereotype, getText, getTopLeftPos, getUserObject, getVariants, getXmlTag, handleCloning, isCluster, isShadowEnabled, isVisible, newInstanceFromSerialization, paint, paintHighlight, paintSelection, removeAllConnectionPoints, setBackground, setPos, setProperty, setShadowEnabled, setSize, setStereotype, setText, setUserObject, setVisible, toString, updateReferences
addListener, equals, getAlpha, getContexts, getId, getPropertyEditor, isHighlighted, isSelected, removeContext, removeListener, setAlpha, setHighlighted, setId, setPropertyEditor, setSelected
getProperty, getPropertyKeys, getSerialization, removeProperty
public final double DEFAULT_RADIUS
public static java.lang.String PROP_LEFT_DOCKER
public static java.lang.String PROP_PARENT_ID
public ToolDocker()
public ToolDocker(Tool parent, boolean left)
public void addContext(ProcessModel context)
ProcessObject
addContext
in class ProcessObject
public void setLeft(boolean left)
left
- public boolean getLeft()
protected java.awt.Shape getOutlineShape()
ProcessNode
getOutlineShape
in class ProcessNode
protected void paintInternal(java.awt.Graphics g)
ProcessNode
paintInternal
in class ProcessNode
public void setPos(int x, int y)
ProcessNode
setPos
in class ProcessNode
public void setSize(int w, int h)
setSize
in class ProcessNode
public java.util.Set<java.awt.Point> getDefaultConnectionPoints()
ProcessNode
getDefaultConnectionPoints
in class ProcessNode
public Tool getParent()