palmed.command
Class PreferencesDialog

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.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

Constructor Summary
PreferencesDialog(javax.microedition.lcdui.Display display, javax.microedition.lcdui.Displayable next, IRecordFactory factory, ITextBox textBox)
          Create an 'about' dialog.
 
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 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

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 display
next - the displayable to show when 'OK' is pressed
factory - the record factory
textBox - the text box
Method Detail

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.