palmed.ui
Class ConfirmationDialog
java.lang.Object
javax.microedition.lcdui.Displayable
javax.microedition.lcdui.Screen
javax.microedition.lcdui.Form
palmed.ui.Dialog
palmed.ui.ConfirmationDialog
- All Implemented Interfaces:
- javax.microedition.lcdui.CommandListener
public final class ConfirmationDialog
- extends Dialog
- implements javax.microedition.lcdui.CommandListener
This dialog prompts the user for a yes/no choice.
- Version:
- $Revision: 359 $ $Date: 2005-12-23 23:26:53 +0900 (ven., 23 déc. 2005) $
- Author:
- Mathieu Champlon
Method Summary |
void |
commandAction(javax.microedition.lcdui.Command command,
javax.microedition.lcdui.Displayable displayable)
|
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 |
ConfirmationDialog
public ConfirmationDialog(java.lang.String title,
java.lang.String description,
java.lang.String question,
IConfirmationListener listener)
- Create a confirmation dialog.
- Parameters:
title
- the form titledescription
- the message describing why the user must confirmquestion
- the question to asklistener
- the listener to receive user decision callbacks
commandAction
public 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.