Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

com/ohrasys/app/AbstractApp.java

Go to the documentation of this file.
00001 /* Copyright (C) 2004 Thomas N. Valine
00002  * tvaline@users.sourceforge.net
00003  *
00004  * This program is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU General Public License
00006  * as published by the Free Software Foundation; either version 2
00007  * of the License, or (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software
00016  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
00017  * 02111-1307, USA. */
00018 
00019 package com.ohrasys.app;
00020 import java.awt.event.*;
00021 import java.util.*;
00022 import javax.swing.event.*;
00023 
00034 public class AbstractApp {
00036   protected AbstractAppController controller;
00037 
00045   public AbstractApp(AbstractAppController controller)
00046     throws AppException {
00047     if(controller == null){throw new AppException();}
00048     else{this.controller = controller;}
00049   }
00050 
00055   public void run(){controller.startController();}
00056 
00062   public String toString(){return super.toString();}
00063 } // end class AbstractApp
00064 
00065 
00066 /* This material is distributed under the GNU General Public License.
00067  * For more information please go to http://www.gnu.org/copyleft/gpl.html */

Generated on Tue Nov 1 23:43:32 2005 for JavaBasicApplicationFrameworkAPI(JBAF) by  doxygen 1.4.2