Package mars.tools

Class IntroToTools

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

public class IntroToTools extends AbstractMarsToolAndApplication
The "hello world" of MarsTools!
See Also:
Serialized Form
  • Constructor Details

    • IntroToTools

      public IntroToTools(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.
    • IntroToTools

      public IntroToTools()
      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 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.