package file;

import java.awt.*;

/****
 *
 * Class FileUI is the top-level class for prototype GUIs related to Calendar
 * Tool file processing.  FileUI constructs and composes the File pulldown
 * menu.  Standard Swing file and input dialogs used for the File.open,
 * File.saveAs, and File.print commands.  Standard JFC error dialogs are used
 * to report any file-related errors.  Hence, FileUI does not need to define
 * any additional GUIs other than the pulldown menu.
 *
 */
public class FileUI {

    /**
     * Construct this simply by building the menu.  As noted in the class
     * comment, there are no other file-related GUIs to construct.
     */
    public FileUI() {
        fileMenu = new FileMenu();
    }

    /**
     * Return the file memu.
     */
    public FileMenu getMenu() {
        return fileMenu;
    }

    /** The constructed file menu */
    protected FileMenu fileMenu;

}