WayWindow
class makes use of the Drafter
class.
WayWindow
class is very easy to use. To do so you must:
Drafter
class.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);
WayWindow
class contains the following methods:
/** * Explicit Value Constructor * * @param drafter The Drafter (or descendant) to display */ public WayWindow(Drafter drafter)
Copyright 2007