Together Workflow Editor 3.0-1 API

org.enhydra.jawe.components.graph
Class DefaultGraphPort

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.jgraph.graph.DefaultGraphCell
          extended by org.jgraph.graph.DefaultPort
              extended by org.enhydra.jawe.components.graph.GraphPortInterface
                  extended by org.enhydra.jawe.components.graph.DefaultGraphPort
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode, org.jgraph.graph.GraphCell, org.jgraph.graph.Port

public class DefaultGraphPort
extends GraphPortInterface

Used to define Port object in graph.

Author:
Sasa Bojanic
See Also:
Serialized Form

Field Summary
protected  java.lang.String type
           
 
Fields inherited from class org.jgraph.graph.DefaultPort
anchor, edges
 
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
DefaultGraphPort(java.lang.String name, java.lang.String type)
          Creates activity with given userObject.
 
Method Summary
 GraphActivityInterface getActivity()
           
 java.lang.String getType()
           
 
Methods inherited from class org.jgraph.graph.DefaultPort
addEdge, clone, edges, getAnchor, getEdges, removeEdge, setAnchor, setEdges
 
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, toString
 
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
 

Field Detail

type

protected java.lang.String type
Constructor Detail

DefaultGraphPort

public DefaultGraphPort(java.lang.String name,
                        java.lang.String type)
Creates activity with given userObject. Also creates default port for holding activity transitions.

Method Detail

getActivity

public GraphActivityInterface getActivity()
Specified by:
getActivity in class GraphPortInterface

getType

public java.lang.String getType()
Specified by:
getType in class GraphPortInterface

Together Workflow Editor 3.0-1 API