public class SplitDecorator extends Decorator
AND_TYPE, BOTTOM, LEFT, LONG_EDGE_PORT, NO_TYPE, NOWHERE, OR_TYPE, PORT_NUMBER, RIGHT, SHORT_EDGE_PORT, TOP, XOR_TYPE
attributes
Constructor and Description |
---|
SplitDecorator(YAWLTask task,
int type,
int position)
This constructor is to be invoked whenever we are creating a new decorator
from scratch.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsIncomingFlows() |
void |
compressFlowPriorities() |
void |
compressFlowPriorities(java.util.Set flows) |
boolean |
generatesOutgoingFlows() |
static int |
getDefaultPosition() |
java.util.SortedSet |
getFlowsInPriorityOrder() |
java.lang.String |
toString() |
detachFlow, getCardinalPosition, getDefaultPort, getFlowCount, getFlows, getLocationRelativeToTask, getOnlyFlow, getPortAtIndex, getPorts, getPortWithOnlyFlow, getSizeRelativeToTask, getTask, getType, isCopyable, isLongEdgePort, isRemovable, refreshPortLocations, setCardinalPosition, setPortLocation, setTask, setType
addPort, addPort, addPort, changeAttributes, clone, getAttributes, getChildren, setAttributes
add, breadthFirstEnumeration, children, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
public SplitDecorator(YAWLTask task, int type, int position)
public boolean generatesOutgoingFlows()
public boolean acceptsIncomingFlows()
public static int getDefaultPosition()
public void compressFlowPriorities()
public void compressFlowPriorities(java.util.Set flows)
public java.util.SortedSet getFlowsInPriorityOrder()
public java.lang.String toString()
toString
in class javax.swing.tree.DefaultMutableTreeNode