palmed.ui
Class InputDialog

java.lang.Object
  extended by javax.microedition.lcdui.Displayable
      extended by javax.microedition.lcdui.Screen
          extended by javax.microedition.lcdui.Form
              extended by palmed.ui.Dialog
                  extended by palmed.ui.InputDialog
All Implemented Interfaces:
javax.microedition.lcdui.CommandListener

public class InputDialog
extends Dialog
implements javax.microedition.lcdui.CommandListener

This dialog prompts the user for a string input.

Version:
$Revision$ $Date$
Author:
Mathieu Champlon

Constructor Summary
InputDialog(java.lang.String title, java.lang.String description, IInputListener listener)
          Create a dialog for user input.
 
Method Summary
 void commandAction(javax.microedition.lcdui.Command command, javax.microedition.lcdui.Displayable displayable)
          
 
Methods inherited from class palmed.ui.Dialog
appendMessage
 
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, sizeChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputDialog

public InputDialog(java.lang.String title,
                   java.lang.String description,
                   IInputListener listener)
Create a dialog for user input.

Parameters:
title - the form title
description - the message describing what the user has to enter
listener - the listener to receive user callbacks
Method Detail

commandAction

public final void commandAction(javax.microedition.lcdui.Command command,
                                javax.microedition.lcdui.Displayable displayable)

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


Copyright © 2004-2006 PalmEd. All Rights Reserved.