palmed.command
Class PreferencesDialog
java.lang.Object
javax.microedition.lcdui.Displayable
javax.microedition.lcdui.Screen
javax.microedition.lcdui.Form
palmed.ui.Dialog
palmed.command.PreferencesDialog
- All Implemented Interfaces:
- javax.microedition.lcdui.CommandListener, ISerializable
public final class PreferencesDialog
- extends Dialog
- implements javax.microedition.lcdui.CommandListener, ISerializable
This dialog displays a list of editable user options.
- Version:
- $Revision$ $Date$
- Author:
- Mathieu Champlon
Method Summary |
void |
commandAction(javax.microedition.lcdui.Command command,
javax.microedition.lcdui.Displayable displayable)
|
void |
marshall(java.io.OutputStream stream)
Write to an output stream. |
void |
unmarshall(java.io.InputStream stream)
Read from an input stream. |
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 |
PreferencesDialog
public PreferencesDialog(javax.microedition.lcdui.Display display,
javax.microedition.lcdui.Displayable next,
IRecordFactory factory,
ITextBox textBox)
- Create an 'about' dialog.
- Parameters:
display
- the application displaynext
- the displayable to show when 'OK' is pressedfactory
- the record factorytextBox
- the text box
commandAction
public void commandAction(javax.microedition.lcdui.Command command,
javax.microedition.lcdui.Displayable displayable)
-
- Specified by:
commandAction
in interface javax.microedition.lcdui.CommandListener
unmarshall
public void unmarshall(java.io.InputStream stream)
throws java.io.IOException
- Read from an input stream.
- Specified by:
unmarshall
in interface ISerializable
- Parameters:
stream
- the stream to read from
- Throws:
java.io.IOException
- an io exception occurs
marshall
public void marshall(java.io.OutputStream stream)
throws java.io.IOException
- Write to an output stream.
- Specified by:
marshall
in interface ISerializable
- Parameters:
stream
- the stream to write to
- Throws:
java.io.IOException
- an io exception occurs
Copyright © 2004-2006 PalmEd. All Rights Reserved.