The WayWindow Class (v1.0)


This class is the main graphical user interface window for Way.
The WayWindow class makes use of the Drafter class.
The WayWindow class is very easy to use. To do so you must:
  1. Construct an instance of a descendant of the Drafter class.
  2. Construct an instance of the WayWindow class, passing the constructor the descendant of the Drafter.

For example, suppose you have a Cartographer class that extends the Drafter class. Then, you could use the WayWindow class as follows:

  Cartographer          cart;
  WayWindow             window;


  cart   = new Cartographer("usa48.txt");
  window = new WayWindow(cart);
  
The WayWindow class contains the following methods:

    /**
     * Explicit Value Constructor
     *
     * @param drafter   The Drafter (or descendant) to display
     */
    public WayWindow(Drafter drafter)
  

Copyright 2007