public interface BPMNNodeInterface extends NodeInterface
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
|
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 |
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 |
setSize(int i,
int j)
modifies the size of the node.
|
getDockedTo, getPaddingX, getPaddingY, getPos, getSize, getText, isVirtualNode, setPos
boolean isGateway()
boolean isDataObject()
boolean placeDataObjectUpwards()
NodeInterface isAttatchedTo(AbstractModelAdapter model)
model
- void setAttatchedTo(AbstractModelAdapter model, NodeInterface node)
model
- boolean isAnnotation()
boolean isPool()
boolean isVertical()
boolean isLane()
boolean isSubProcess()
java.util.List<NodeInterface> getContainedNodes()
void setSize(int i, int j)
i
- j
-