org.strutsme.wishlist.client.forms
Class MainlistForm

java.lang.Object
  extended by org.strutsme.wishlist.client.forms.MainlistForm
All Implemented Interfaces:
javax.microedition.lcdui.CommandListener

public class MainlistForm
extends java.lang.Object
implements javax.microedition.lcdui.CommandListener

displays a list with Wishlistitems.

Author:
lbusmann

Constructor Summary
MainlistForm()
          Default Constructor.
 
Method Summary
 void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable d)
          
static MainlistForm getInstance()
          singleton accessor method.
 void populate()
          populates the form with the values of the current wish.
 void show()
          refreshes the data of the form and displays it on the screen.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MainlistForm

public MainlistForm()
Default Constructor.

Method Detail

getInstance

public static MainlistForm getInstance()
singleton accessor method.

Returns:
a unique instance of this class.

populate

public final void populate()
populates the form with the values of the current wish.


commandAction

public final void commandAction(javax.microedition.lcdui.Command c,
                                javax.microedition.lcdui.Displayable d)

Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener

show

public final void show()
refreshes the data of the form and displays it on the screen.