TWE 2.5-1 API

org.enhydra.jawe.components.graph
Class DefaultGraphTransition

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byorg.jgraph.graph.DefaultGraphCell
          extended byorg.jgraph.graph.DefaultEdge
              extended byorg.enhydra.jawe.components.graph.GraphTransitionInterface
                  extended byorg.enhydra.jawe.components.graph.DefaultGraphTransition
All Implemented Interfaces:
java.lang.Cloneable, org.jgraph.graph.Edge, org.jgraph.graph.GraphCell, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode, WorkflowElement

public class DefaultGraphTransition
extends GraphTransitionInterface

Used to define Transition object in the graph.

Author:
Sasa Bojanic
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.jgraph.graph.DefaultEdge
org.jgraph.graph.DefaultEdge.DefaultRouting
 
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode
 
Nested classes inherited from class org.jgraph.graph.Edge
org.jgraph.graph.Edge.Routing
 
Field Summary
 
Fields inherited from class org.jgraph.graph.DefaultEdge
source, target
 
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
DefaultGraphTransition(org.enhydra.shark.xpdl.elements.Transition tra)
          Creates transition.
 
Method Summary
protected  java.lang.Object cloneUserObject()
           
 java.lang.String getCondition()
           
 java.lang.String getConditionType()
           
 org.enhydra.shark.xpdl.XMLComplexElement getPropertyObject()
          Gets a property object (XML schema Element).
 GraphActivityInterface getSourceActivity()
          Returns source activity.
 GraphActivityInterface getTargetActivity()
          Returns target activity.
 java.lang.String getTooltip()
          Gets a tooltip text for transition.
 java.lang.String getType()
           
 boolean hasCondition()
           
 java.lang.String toString()
          Returns an empty string.
 
Methods inherited from class org.jgraph.graph.DefaultEdge
clone, getSource, getTarget, setSource, setTarget
 
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
 
Methods inherited from interface org.jgraph.graph.GraphCell
changeAttributes, getAttributes, setAttributes
 

Constructor Detail

DefaultGraphTransition

public DefaultGraphTransition(org.enhydra.shark.xpdl.elements.Transition tra)
Creates transition.

Method Detail

getSourceActivity

public GraphActivityInterface getSourceActivity()
Returns source activity.

Specified by:
getSourceActivity in class GraphTransitionInterface

getTargetActivity

public GraphActivityInterface getTargetActivity()
Returns target activity.

Specified by:
getTargetActivity in class GraphTransitionInterface

getPropertyObject

public org.enhydra.shark.xpdl.XMLComplexElement getPropertyObject()
Description copied from interface: WorkflowElement
Gets a property object (XML schema Element).


getTooltip

public java.lang.String getTooltip()
Gets a tooltip text for transition.


toString

public java.lang.String toString()
Returns an empty string.


cloneUserObject

protected java.lang.Object cloneUserObject()

hasCondition

public boolean hasCondition()
Specified by:
hasCondition in class GraphTransitionInterface

getConditionType

public java.lang.String getConditionType()

getCondition

public java.lang.String getCondition()

getType

public java.lang.String getType()

TWE 2.5-1 API