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

ListForm.java

Go to the documentation of this file.
00001 
00066 package com.arcle.rmt.superwaba.ui;
00067 
00068 import waba.ui.ListBox;
00069 
00074 public abstract class ListForm extends Form {
00075 
00076     //-----------------------------------------------------------------------
00077     // Implemented Abstract Methods
00078 
00082     protected void initChildren() { }
00083 
00084     protected void layoutChildren() {
00085         ListBox lbEntries = getListBox();
00086         add(lbEntries);
00087         lbEntries.setRect(LEFT, TOP, FILL, FILL);
00088     }
00089 
00090     //-----------------------------------------------------------------------
00091     // Accessor Methods
00092 
00096     protected final ListBox getListBox() {
00097         if (lbEntries == null) {
00098             lbEntries = createListBox();
00099         }
00100         return lbEntries;
00101     }
00102 
00103     //-----------------------------------------------------------------------
00104     // Factory Methods
00105 
00109     protected ListBox createListBox() {
00110         return new ListBox();
00111     }
00112 
00113 
00114     //-----------------------------------------------------------------------
00115     // Member Variables
00116 
00120     private ListBox lbEntries;
00121 }

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