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

ControllerBase.java

Go to the documentation of this file.
00001 
00066 package com.arcle.rmt.superwaba.vc;
00067 
00068 import waba.ui.MessageBox;
00069 
00070 import com.arcle.rmt.superwaba.framework.Controller;
00071 import com.arcle.rmt.superwaba.framework.View;
00072 
00078 public class ControllerBase implements Controller {
00079 
00080     //-----------------------------------------------------------------------
00081     // Controller implementation
00082 
00086     public void viewInitialized(View v) {
00087         setView(v);
00088     }
00089 
00090 
00091     //-----------------------------------------------------------------------
00092     // Accessor Methods
00093 
00094     public void setView(View v) {
00095         _view = v;
00096     }
00097 
00098     protected View getView() {
00099         return _view;
00100     }
00101 
00102     //-----------------------------------------------------------------------
00103     // Factory methods
00104 
00105     protected MessageBox createMessageBox(String title, String msg) {
00106         return new MessageBox(title, msg);
00107     }
00108 
00109 
00110     //-----------------------------------------------------------------------
00111     // Member variables
00115     private View _view = null;
00116 }

Generated on Fri Jun 18 19:51:13 2004 for Arcle Rambutan by doxygen 1.3.5