palmed.command
Class ExitCommand

java.lang.Object
  extended by palmed.command.ExitCommand
All Implemented Interfaces:
ICommand

public final class ExitCommand
extends java.lang.Object
implements ICommand

This class implements the 'exit' command.

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

Constructor Summary
ExitCommand(javax.microedition.midlet.MIDlet midlet, ISerializable serializable, IRecordFactory factory)
          Create an 'exit' command.
 
Method Summary
 void execute()
          Execute the command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExitCommand

public ExitCommand(javax.microedition.midlet.MIDlet midlet,
                   ISerializable serializable,
                   IRecordFactory factory)
Create an 'exit' command.

Parameters:
midlet - the midlet
serializable - the object to save upon exit
factory - the record factory
Method Detail

execute

public void execute()
Execute the command.

Specified by:
execute in interface ICommand


Copyright © 2004-2006 PalmEd. All Rights Reserved.