uk.co.silentsoftware.ui.views
Class AbstractTextBoxView

java.lang.Object
  extended by javax.microedition.lcdui.Displayable
      extended by javax.microedition.lcdui.Screen
          extended by javax.microedition.lcdui.TextBox
              extended by uk.co.silentsoftware.ui.views.AbstractTextBoxView
All Implemented Interfaces:
javax.microedition.lcdui.CommandListener
Direct Known Subclasses:
DataView

public abstract class AbstractTextBoxView
extends javax.microedition.lcdui.TextBox
implements javax.microedition.lcdui.CommandListener

Base class for shared commands and functions


Constructor Summary
AbstractTextBoxView(javax.microedition.midlet.MIDlet parent, java.lang.String title, java.lang.String text, int textLength, int textType)
          Default construtor 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.TextBox
delete, getCaretPosition, getChars, getConstraints, getMaxSize, getString, insert, insert, setChars, setConstraints, setInitialInputMode, setMaxSize, setString, setTicker, setTitle, size
 
Methods inherited from class javax.microedition.lcdui.Displayable
addCommand, getHeight, getTicker, getTitle, getWidth, isShown, removeCommand, setCommandListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTextBoxView

public AbstractTextBoxView(javax.microedition.midlet.MIDlet parent,
                           java.lang.String title,
                           java.lang.String text,
                           int textLength,
                           int textType)
Default construtor 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