org.strutsme.wishlist.client.forms
Class WishForm

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

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

Author:
lbusmann

Method Summary
 void commandAction(javax.microedition.lcdui.Command cmd, javax.microedition.lcdui.Displayable disp)
          
protected  void createCommands()
          creates the command for this form.
 void executeCommandBack()
          executes the command to leave this form.
protected  void executeCommandDelete()
          executes the command to delete this WishlistItem.
protected  void executeCommandSave()
          executes the command to save this WishlistItem.
static WishForm getInstance()
          singleton accessor method.
protected  void populate()
          fills the form with the actual values of the wish to display.
 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
 

Method Detail

getInstance

public static WishForm getInstance()
singleton accessor method.

Returns:
a unique instance of this class.

createCommands

protected void createCommands()
creates the command for this form.


executeCommandDelete

protected void executeCommandDelete()
executes the command to delete this WishlistItem.


executeCommandSave

protected void executeCommandSave()
executes the command to save this WishlistItem.


executeCommandBack

public void executeCommandBack()
executes the command to leave this form.


populate

protected void populate()
fills the form with the actual values of the wish to display.


show

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


commandAction

public void commandAction(javax.microedition.lcdui.Command cmd,
                          javax.microedition.lcdui.Displayable disp)

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