Class InputPort
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
org.jgraph.graph.DefaultGraphCell
org.jgraph.graph.DefaultPort
jsimgraph.JGraphMod.InputPort
- All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode, org.jgraph.graph.GraphCell, org.jgraph.graph.Port
public class InputPort
extends org.jgraph.graph.DefaultPort
Port to connect vertex through connections. the input port is made to
create only incomeing connections.
- Author:
- Federico Granata Date: 17-lug-2003 Time: 11.11.22 Modified by Bertoli Marco 17-giu-2005
- See Also:
-
Field Summary
Fields inherited from class org.jgraph.graph.DefaultPort
anchor, edgesFields inherited from class org.jgraph.graph.DefaultGraphCell
attributesFields inherited from class DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jgraph.graph.DefaultPort
clone, edges, getAnchor, getEdges, removeEdge, setAnchor, setEdgesMethods inherited from class org.jgraph.graph.DefaultGraphCell
addPort, addPort, addPort, changeAttributes, getAttributes, getChildren, setAttributesMethods inherited from class 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, toStringMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jgraph.graph.GraphCell
changeAttributes, getAttributes, setAttributes
-
Constructor Details
-
InputPort
creates an input port- Parameters:
userObject- : Reference to JmtCell that contains this port
-
-
Method Details
-
addEdge
Addsedgeto the list of ports.- Specified by:
addEdgein interfaceorg.jgraph.graph.Port- Overrides:
addEdgein classorg.jgraph.graph.DefaultPort
-