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:
  • Constructor Details

    • InputPort

      public InputPort(Object userObject)
      creates an input port
      Parameters:
      userObject - : Reference to JmtCell that contains this port
  • Method Details

    • addEdge

      public boolean addEdge(Object edge)
      Adds edge to the list of ports.
      Specified by:
      addEdge in interface org.jgraph.graph.Port
      Overrides:
      addEdge in class org.jgraph.graph.DefaultPort