public class DummyEdgeDocker extends java.lang.Object implements BPMNNodeInterface
Constructor and Description |
---|
DummyEdgeDocker(EdgeInterface dockedTo) |
Modifier and Type | Method and Description |
---|---|
java.util.List<NodeInterface> |
getContainedNodes()
if this node is a Pool, a SubProcess or e.g. a TWF-Frame, this method has to be implemented as well and
shall return all nodes that are currently residing within this Cluster
|
EdgeInterface |
getDockedTo()
if this node is directly connected to an edge (like an edge docker)
preprocessors can take that into account.
|
int |
getPaddingX()
The value returned by this method adds a padding on the left/right (half of the value) of a node.
|
int |
getPaddingY()
The value returned by this method adds a padding on the bottom/top (half of the value) of a node.
|
java.awt.Point |
getPos()
Should returns the current position of the center of node
|
java.awt.Dimension |
getSize()
the current size of the node (width,height)
|
java.lang.String |
getText()
Gets the text or label present on the node
|
boolean |
isAnnotation()
returns true if this Node is a BPMN Annotation Object
|
NodeInterface |
isAttatchedTo(AbstractModelAdapter model)
if this node is e.g. an attached intermediate event, this method
returns the task node it is attached to.
|
boolean |
isDataObject()
returns true if this Node is a BPMN data object
|
boolean |
isGateway()
returns true if this Node is a BPMN gateway
|
boolean |
isLane()
returns true if this Node is a BPMN Lane
|
boolean |
isPool()
returns true if this Node is a BPMN Pool
|
boolean |
isSubProcess()
returns true if this Node is a BPMN SubProcess
|
boolean |
isVertical()
Applies to Pools and Lanes and
returns true if this Node in "Vertical" orientation
and false if it is "Horizontal"
|
boolean |
isVirtualNode()
virtual nodes are nodes not visible in a diagram (e.g. an Edge Docker)
virtual nodes will usually be ignored!
|
boolean |
placeDataObjectUpwards()
this method is called to decide whether this dataObject
should be placed on top (true) or below (false) it's connected Task
|
void |
setAttatchedTo(AbstractModelAdapter model,
NodeInterface node)
if this node is e.g. an attached intermediate event and was deleted during the layouting
process, the connection with its task can be reestablished here.
|
void |
setPos(int x,
int y)
sets the new position for this Node.
|
void |
setSize(int i,
int j)
modifies the size of the node.
|
public DummyEdgeDocker(EdgeInterface dockedTo)
public java.util.List<NodeInterface> getContainedNodes()
BPMNNodeInterface
getContainedNodes
in interface BPMNNodeInterface
public EdgeInterface getDockedTo()
NodeInterface
getDockedTo
in interface NodeInterface
public boolean isAnnotation()
BPMNNodeInterface
isAnnotation
in interface BPMNNodeInterface
public NodeInterface isAttatchedTo(AbstractModelAdapter model)
BPMNNodeInterface
isAttatchedTo
in interface BPMNNodeInterface
public boolean isDataObject()
BPMNNodeInterface
isDataObject
in interface BPMNNodeInterface
public boolean isGateway()
BPMNNodeInterface
isGateway
in interface BPMNNodeInterface
public boolean isLane()
BPMNNodeInterface
isLane
in interface BPMNNodeInterface
public boolean isPool()
BPMNNodeInterface
isPool
in interface BPMNNodeInterface
public boolean isSubProcess()
BPMNNodeInterface
isSubProcess
in interface BPMNNodeInterface
public boolean isVirtualNode()
NodeInterface
isVirtualNode
in interface NodeInterface
public boolean placeDataObjectUpwards()
BPMNNodeInterface
placeDataObjectUpwards
in interface BPMNNodeInterface
public void setSize(int i, int j)
BPMNNodeInterface
setSize
in interface BPMNNodeInterface
public java.awt.Point getPos()
NodeInterface
getPos
in interface NodeInterface
public java.awt.Dimension getSize()
NodeInterface
getSize
in interface NodeInterface
public java.lang.String getText()
NodeInterface
getText
in interface NodeInterface
public void setPos(int x, int y)
NodeInterface
setPos
in interface NodeInterface
public void setAttatchedTo(AbstractModelAdapter model, NodeInterface node)
BPMNNodeInterface
setAttatchedTo
in interface BPMNNodeInterface
public int getPaddingX()
NodeInterface
getPaddingX
in interface NodeInterface
public int getPaddingY()
NodeInterface
getPaddingY
in interface NodeInterface
public boolean isVertical()
BPMNNodeInterface
isVertical
in interface BPMNNodeInterface