|
Together Workflow Editor 3.0-1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
org.jgraph.graph.DefaultGraphCell
org.enhydra.jawe.components.graph.GraphActivityInterface
org.enhydra.jawe.components.graph.DefaultGraphActivity
public class DefaultGraphActivity
Used to define Activity object in graph and to modify it's properties.
Field Summary |
---|
Fields inherited from class org.jgraph.graph.DefaultGraphCell |
---|
attributes |
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
---|---|
DefaultGraphActivity(org.enhydra.shark.xpdl.elements.Activity act)
Creates activity with given userObject. |
Method Summary | |
---|---|
boolean |
acceptsSource()
Returns true if Activity is a valid source for transition. |
boolean |
acceptsTarget()
Returns true if Activity is a valid target for transition. |
protected void |
addPort()
|
java.lang.Object |
clone()
Create a clone of the cell. |
protected java.lang.Object |
cloneUserObject()
Create a clone of the ActivityProperties object. |
java.awt.Point |
getOffset()
|
GraphPortInterface |
getPort()
Gets the port associate with this activity. |
org.enhydra.shark.xpdl.XMLComplexElement |
getPropertyObject()
Gets a property object (XML schema Element). |
java.util.Set |
getReferencedActivities()
Gets all activities that this activity references. |
java.util.Set |
getReferencingActivities()
Gets all activities that reference this one. |
java.lang.String |
getTooltip()
Gets a tooltip text for activity. |
java.lang.String |
getType()
|
java.lang.String |
toString()
Gets an activity "display name" property. |
Methods inherited from class org.jgraph.graph.DefaultGraphCell |
---|
changeAttributes, getAttributes, getChildren, setAttributes |
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
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 |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultGraphActivity(org.enhydra.shark.xpdl.elements.Activity act)
Method Detail |
---|
protected void addPort()
public java.lang.String getType()
public GraphPortInterface getPort()
getPort
in class GraphActivityInterface
public boolean acceptsSource()
true
if Activity is a valid source for transition.
This depends of activitie's type property, it can accept to be a
source for transition if it is a normal or starting.
public boolean acceptsTarget()
true
if Activity is a valid target for transition.
This depends of activitie's type property, it can accept to be a
target for for transition if it is a normal or ending.
public org.enhydra.shark.xpdl.XMLComplexElement getPropertyObject()
WorkflowElement
public java.lang.String getTooltip()
public java.lang.String toString()
toString
in class javax.swing.tree.DefaultMutableTreeNode
public java.lang.Object clone()
clone
in class org.jgraph.graph.DefaultGraphCell
protected java.lang.Object cloneUserObject()
public java.util.Set getReferencingActivities()
getReferencingActivities
in class GraphActivityInterface
public java.util.Set getReferencedActivities()
getReferencedActivities
in class GraphActivityInterface
public java.awt.Point getOffset()
getOffset
in class GraphActivityInterface
|
Together Workflow Editor 3.0-1 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |