Class TerminalCell

java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
org.jgraph.graph.DefaultGraphCell
jsimgraph.JGraphMod.JmtCell
jsimgraph.JGraphMod.TerminalCell
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode, org.jgraph.graph.GraphCell

public class TerminalCell extends JmtCell
Preloads new jobs in closed systems, it preloads jobs of 1 JobClass only
Author:
Federico Granata, Bertoli Marco Date: 5-giu-2003 Time: 13.13.51 This class was removed as not necessary any more with job preloading... Bertoli Marco
See Also:
  • Field Details

  • Constructor Details

    • TerminalCell

      public TerminalCell(Object userObject)
      Creates a graph cell and initializes it with the specified user object.
      Parameters:
      userObject - an Object provided by the user that constitutes the cell's data
  • Method Details

    • createPorts

      public org.jgraph.graph.Port[] createPorts()
      Creates the ports for this vertex
      Specified by:
      createPorts in class JmtCell
      Returns:
      array of ports
    • generateOrDestroyJobs

      public boolean generateOrDestroyJobs()
      Tells if this station generates or destroys jobs (useful for blocking region management)
      Overrides:
      generateOrDestroyJobs in class JmtCell
      Returns:
      true if this station generates or destroy jobs, false otherwise