Package mars.tools

Class MemoryReferenceVisualization

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Observer, Accessible, RootPaneContainer, WindowConstants, MarsTool

public class MemoryReferenceVisualization extends AbstractMarsToolAndApplication
Memory reference visualization. It can be run either as a stand-alone Java application having access to the mars package, or through MARS as an item in its Tools menu. It makes maximum use of methods inherited from its abstract superclass AbstractMarsToolAndApplication. Pete Sanderson, verison 1.0, 14 November 2006.
See Also:
Serialized Form
  • Constructor Details

    • MemoryReferenceVisualization

      public MemoryReferenceVisualization(String title, String heading)
      Simple constructor, likely used to run a stand-alone memory reference visualizer.
      Parameters:
      title - String containing title for title bar
      heading - String containing text for heading shown in upper part of window.
    • MemoryReferenceVisualization

      public MemoryReferenceVisualization()
      Simple constructor, likely used by the MARS Tools menu mechanism
  • Method Details

    • main

      public static void main(String[] args)
      Main provided for pure stand-alone use. Recommended stand-alone use is to write a driver program that instantiates a MemoryReferenceVisualization object then invokes its go() method. "stand-alone" means it is not invoked from the MARS Tools menu. "Pure" means there is no driver program to invoke the application.
    • getName

      public String getName()
      Required MarsTool method to return Tool name.
      Specified by:
      getName in interface MarsTool
      Specified by:
      getName in class AbstractMarsToolAndApplication
      Returns:
      Tool name. MARS will display this in menu item.