package Progress; import java.lang.Object; import java.util.Collection; /** * Largest rectangular section on the page that will display content * such as graphs and statistics. */ public abstract class MainContent { private Collection students; private Collection content; /** * Adds a graph to the content box so it can be displayed. * @param g absract graph type to display *
      pre:
        // The Graph g must not be null.
        g != null;

      post:
        // The Graph g is now in this.content.
        content'.contains(g);
     *
     */ 
    public abstract void addGraph(Graph g);

    /**
     * Removes a graph from the content box. If the graph has not been inserted
     * into the content box, nothing changes.
     * @param   g  graph to be removed.
     */
    public abstract void removeGraph(Graph g);
	
    /** 
     * Clears all content from the section.
     */
    public abstract void clearContent();
}