// Interface: GridDisplay // // Author: Alyce Brady // // This class is based on the College Board's EnvDisplay class, as // allowed by the GNU General Public License. EnvDisplay is a // black-box class within the AP(r) CS Marine Biology Simulation // case study (see // http://www.collegeboard.com/student/testing/ap/compsci_a/case.html). // // License Information: // This class is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation. // // This class is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. package edu.kzoo.grid.display; import edu.kzoo.grid.Grid; /** * Grid Display Package:
* * The GridDisplay interface specifies the * methods that must be provided by any class used to display * a Grid object and its contents. * *

* The GridDisplay class is based on the * College Board's EnvDisplay class, * as allowed by the GNU General Public License. * * @author Alyce Brady * @version 13 December 2003 **/ public interface GridDisplay { /** Sets the Grid being displayed. * @param grid the Grid to display **/ void setGrid(Grid grid); /** Shows the current state of the grid. **/ void showGrid(); }