public abstract class YAWLTask extends YAWLVertex
_yawlElement, BOTTOM, DEFAULT_VERTEX_FOREGROUND, LEFT, NOWHERE, RIGHT, TOP
attributes
Constructor and Description |
---|
YAWLTask()
This constructor is ONLY to be invoked when we are reconstructing a task
from saved state.
|
YAWLTask(java.awt.geom.Point2D startPoint)
This constructor is to be invoked whenever we are creating a new task
from scratch.
|
YAWLTask(java.awt.geom.Point2D startPoint,
java.lang.String iconPath) |
acceptsIncomingFlows, addDefaultBottomPort, addDefaultLeftPort, addDefaultPorts, addDefaultRightPort, addDefaultTopPort, generatesOutgoingFlows, getBackgroundColor, getDesignNotes, getFlowCount, getFlows, getInnerToolTipText, getLabel, getPortAt, getPorts, getPositionOfIncomingFlow, getPositionOfOutgoingFlow, getStartPoint, getToolTipText, getType, getVertexLabel, getVertexSize, getYAWLElement, hasLabel, isCopyable, isRemovable, setBackgroundColor, setBounds, setDesignNotes, setYAWLElement, toString
addPort, addPort, addPort, changeAttributes, 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 YAWLTask()
public YAWLTask(java.awt.geom.Point2D startPoint)
public YAWLTask(java.awt.geom.Point2D startPoint, java.lang.String iconPath)
public void setTask(YTask task)
public YTask getTask()
public void setIconPath(java.lang.String path)
public java.lang.String getIconPath()
public java.lang.String getID()
getID
in class YAWLVertex
public void setID(java.lang.String id)
setID
in class YAWLVertex
public java.lang.String getName()
getName
in class YAWLVertex
public void setName(java.lang.String name)
setName
in class YAWLVertex
public java.lang.String getDocumentation()
getDocumentation
in class YAWLVertex
public void setDocumentation(java.lang.String doco)
setDocumentation
in class YAWLVertex
public int getSplitDecoratorPos()
public int getJoinDecoratorPos()
public int hasJoinDecoratorAt()
public int hasSplitDecoratorAt()
public boolean hasSplitDecorator()
public boolean hasJoinDecorator()
public boolean hasDecoratorAtPosition(int position)
public int decoratorTypeAtPosition(int position)
public YAWLPort getDefaultSourcePort()
getDefaultSourcePort
in class YAWLVertex
public YAWLPort getDefaultTargetPort()
getDefaultTargetPort
in class YAWLVertex
public YAWLFlowRelation getOnlyOutgoingFlow()
getOnlyOutgoingFlow
in class YAWLVertex
public YAWLFlowRelation getOnlyIncomingFlow()
getOnlyIncomingFlow
in class YAWLVertex
public JoinDecorator getJoinDecorator()
public SplitDecorator getSplitDecorator()
public java.awt.geom.Rectangle2D getBounds()
getBounds
in class YAWLVertex
public java.awt.geom.Point2D getLocation()
public java.util.Set<YAWLFlowRelation> getIncomingFlows()
getIncomingFlows
in class YAWLVertex
public int getIncomingFlowCount()
public java.util.Set<YAWLFlowRelation> getOutgoingFlows()
getOutgoingFlows
in class YAWLVertex
public int getOutgoingFlowCount()
public CancellationSet getCancellationSet()
public void setCancellationSet(CancellationSet set)
public boolean hasCancellationSetMembers()
public void setDecomposition(YDecomposition decomposition)
public YDecomposition getDecomposition()
public void setCustomFormURL(java.lang.String urlStr) throws java.net.MalformedURLException
java.net.MalformedURLException
public void setCustomFormURL(java.net.URL url)
public java.net.URL getCustomFormURL()
public boolean hasBothDecorators()
public boolean hasTopLeftAdjacentDecorators()
public boolean hasTopRightAdjacentDecorators()
public boolean hasBottomRightAdjacentDecorators()
public boolean hasBottomLeftAdjacentDecorators()
public boolean hasVerticallyAlignedDecorators()
public boolean hasHorizontallyAlignedDecorators()
public boolean hasNoSelfReferencingFlows()
public void detachFlow(YAWLFlowRelation flow)
detachFlow
in class YAWLVertex
public java.lang.Object clone()
DefaultGraphCell
clone
in class YAWLVertex