TWE 2.4-1 API

org.enhydra.jawe.components.graph
Class GraphParticipantInterface

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byorg.jgraph.graph.DefaultGraphCell
          extended byorg.enhydra.jawe.components.graph.GraphParticipantInterface
All Implemented Interfaces:
java.lang.Cloneable, org.jgraph.graph.GraphCell, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode, WorkflowElement
Direct Known Subclasses:
DefaultGraphParticipant

public abstract class GraphParticipantInterface
extends org.jgraph.graph.DefaultGraphCell
implements WorkflowElement

Interface for creating JGraph's Participant object.

Author:
Sasa Bojanic
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode
 
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
GraphParticipantInterface()
           
 
Method Summary
 java.util.Set getChildActivities()
          Returns participant's children activities (activities for which it is a container).
 boolean hasAnyActivity()
          Returns true if participant is a container for any activity.
 boolean hasAnyParticipant()
           
 int howManyChildActivities()
          Returns the number of participant's children activities (number of activities for which it is a container).
 
Methods inherited from class org.jgraph.graph.DefaultGraphCell
changeAttributes, clone, 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, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.enhydra.jawe.components.graph.WorkflowElement
getPropertyObject, getTooltip, getType
 

Constructor Detail

GraphParticipantInterface

public GraphParticipantInterface()
Method Detail

hasAnyParticipant

public boolean hasAnyParticipant()

hasAnyActivity

public boolean hasAnyActivity()
Returns true if participant is a container for any activity.
NOTE: subflow is a kind of activity.


howManyChildActivities

public int howManyChildActivities()
Returns the number of participant's children activities (number of activities for which it is a container).
NOTE: subflow is a kind of activity.


getChildActivities

public java.util.Set getChildActivities()
Returns participant's children activities (activities for which it is a container).
NOTE: subflow is a kind of activity.


TWE 2.4-1 API