uk.co.silentsoftware.ui.views
Class AbstractFormView

java.lang.Object
  extended by javax.microedition.lcdui.Displayable
      extended by javax.microedition.lcdui.Screen
          extended by javax.microedition.lcdui.Form
              extended by uk.co.silentsoftware.ui.views.AbstractFormView
All Implemented Interfaces:
javax.microedition.lcdui.CommandListener
Direct Known Subclasses:
AbstractTextMessageView, TargetListSaveView

public abstract class AbstractFormView
extends javax.microedition.lcdui.Form
implements javax.microedition.lcdui.CommandListener

Base class for shared commands and functions


Constructor Summary
AbstractFormView(javax.microedition.midlet.MIDlet parent, java.lang.String title)
          Default constructor initialises Back and Exit buttons on all forms
 
Method Summary
 void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable d)
          Command handler to exit the midlet
 
Methods inherited from class javax.microedition.lcdui.Form
append, append, append, delete, deleteAll, get, getHeight, getWidth, insert, set, setItemStateListener, size
 
Methods inherited from class javax.microedition.lcdui.Displayable
addCommand, getTicker, getTitle, isShown, removeCommand, setCommandListener, setTicker, setTitle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFormView

public AbstractFormView(javax.microedition.midlet.MIDlet parent,
                        java.lang.String title)
Default constructor initialises Back and Exit buttons on all forms

Parameters:
parent -
Method Detail

commandAction

public void commandAction(javax.microedition.lcdui.Command c,
                          javax.microedition.lcdui.Displayable d)
Command handler to exit the midlet

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