A B C D E G H I L M N O P Q R S U W

A

ACCOUNT_STORE - Static variable in class AccountIndexPage
the name of the RecordStore that we are keeping accounts in
AccountIndexPage - class AccountIndexPage.
An AccountIndexPage holds lists of AccountPages.
AccountIndexPage(String, boolean) - Constructor for class AccountIndexPage
Initialize a new AccountIndexPage object using the supplied parameters and default values where needed.
AccountIndexPage(String, String, Image, boolean) - Constructor for class AccountIndexPage
Initialize a new AccountIndexPage object using the supplied parameters.
AccountPage - class AccountPage.
An AccountPage is used to edit a UserAccount object.
AccountPage(String, StorableObject) - Constructor for class AccountPage
Initialize a new AccountPage object using the supplied parameters and default values where needed.
AccountPage(String, String, Image, StorableObject) - Constructor for class AccountPage
Initialize a new AccountPage object using the supplied parameters.
AccountViewer - class AccountViewer.
This class implements a simple account manager.
AccountViewer() - Constructor for class AccountViewer
Construct the screens needed to implement the account manager.
addChild(Page) - Method in class menu.MenuPage
Add a Page to the list of Pages that are children of this menu.

B

BACK - Static variable in class menu.PageMgr
Display the previously displayed page
BACK_COMMAND - Static variable in class menu.PageMgr
Return to previously displayed page.

C

CANCEL - Static variable in class menu.PageMgr
Display the previously displayed page
CANCEL_COMMAND - Static variable in class menu.PageMgr
User cancels action proposal on displayed page.
commandAction(Command, Displayable) - Method in class ImageViewer
Dispatch Command c initiated by the user on Displayable d.
commandAction(Command, Displayable) - Method in class menu.PageMgr
Dispatch user commands and then adjust the display as needed.
compare(UserAccount, UserAccount) - Static method in class UserAccount
Compare two UserAccount objects for order.

D

destroyApp(boolean) - Method in class AccountViewer
Called by the application management software to signal the MIDlet to terminate and enter the Destroyed state.
destroyApp(boolean) - Method in class ImageViewer
Called by the application management software to signal the MIDlet to terminate and enter the Destroyed state.
destroyApp(boolean) - Method in class PView
Called by the application management software to signal the MIDlet to terminate and enter the Destroyed state.
doCommandAction(Command, Displayable) - Method in class AccountPage
Process the user command and return an integer value telling the PageMgr what to do next.
doCommandAction(Command, Displayable) - Method in class PropertyPage
Process the user command and return an integer value telling the PageMgr what to do next.
doCommandAction(Command, Displayable) - Method in class menu.Page
Process the user command and return an integer value telling the PageMgr what to do next.
doCommandAction(Command, Displayable) - Method in class menu.MenuPage
Process the user command and return an integer value telling the PageMgr what to do next.

E

EXIT - Static variable in class menu.PageMgr
Exit the application entirely
EXIT_COMMAND - Static variable in class menu.PageMgr
Exit the application entirely.

G

getDisplayable() - Method in class AccountIndexPage
Return the Displayable object for this AccountIndexPage, completely filled in and ready to display.
getDisplayable() - Method in class AccountPage
Return the Displayable object for this AccountPage, completely filled in and ready to display.
getDisplayable() - Method in class PropertyPage
Return the Displayable object for this PropertyPage, completely filled in and ready to display.
getDisplayable() - Method in class menu.Page
Return the Displayable object for this Page, completely filled in and ready to display.
getDisplayable() - Method in class menu.MenuPage
Return the Displayable object for this MenuPage, completely filled in and ready to display.
getHost() - Method in class UserAccount
Return the host for this object.
getIcon() - Method in class menu.Page
Return Page icon.
getLabel() - Method in class UserAccount
Return the label for this object.
getLabel() - Method in class menu.Page
Return Page label.
getLinkedPage() - Method in class menu.Page
Return the Page that this Page feels should be the next page to be displayed.
getLinkedPage() - Method in class menu.MenuPage
Return the Page that this Page feels should be the next page to be displayed.
getPassword() - Method in class UserAccount
Return the password for this object.
getPrevious() - Method in class menu.Page
Return pointer to previous page visited.
getRecordID() - Method in class store.StorableObject
Get the record id associated with the user data object.
getStoreName() - Method in class store.StorableObject
Get the record store name associated with the user data object.
getTitle() - Method in class menu.Page
Return Page title.
getUserData() - Method in class store.StorableObject
Get the user data object.
getUsername() - Method in class UserAccount
Return the username for this object.

H

HELP_COMMAND - Static variable in class menu.PageMgr
Display a help message.

I

ImageViewer - class ImageViewer.
This class implements a simple image viewer.
ImageViewer() - Constructor for class ImageViewer
Construct the screens and data objects needed to implement the image viewer.

L

LINK - Static variable in class menu.PageMgr
Display a linked page.

M

menu - package menu
 
MenuPage - class menu.MenuPage.
A MenuPage is used to hold lists of other Pages.
MenuPage(String) - Constructor for class menu.MenuPage
Initialize a new MenuPage object using the supplied parameters and default values where needed.
MenuPage(String, boolean) - Constructor for class menu.MenuPage
Initialize a new MenuPage object using the supplied parameters and default values where needed.
MenuPage(String, String, Image, boolean) - Constructor for class menu.MenuPage
Initialize a new MenuPage object using the supplied parameters.

N

NONE - Static variable in class menu.PageMgr
Continue to display the current page.

O

OK_COMMAND - Static variable in class menu.PageMgr
User confirms action proposal on displayed page.

P

Page - class menu.Page.
A Page is the basic element in a hierarchy of displayable pages.
Page(String, String, Image) - Constructor for class menu.Page
Initialize a new Page object using the supplied parameters.
PageMgr - class menu.PageMgr.
This class manages a hierarchy of linked Page objects.
PageMgr(QuitableMIDlet, Page) - Constructor for class menu.PageMgr
Construct a new PageMgr.
pauseApp() - Method in class AccountViewer
Called by the application management software to signal the MIDlet to stop and enter the Paused state.
pauseApp() - Method in class ImageViewer
Called by the application management software to signal the MIDlet to stop and enter the Paused state.
pauseApp() - Method in class PView
Called by the application management software to signal the MIDlet to stop and enter the Paused state.
PropertyPage - class PropertyPage.
A PropertyPage is used to display lists of properties whose values can be obtained using the System.getProperty(keyString) or midlet.getAppProperty(keyString) methods.
PropertyPage(String, MIDlet, String[]) - Constructor for class PropertyPage
Initialize a new PropertyPage object using the supplied parameters and default values where needed.
PropertyPage(String, MIDlet, String, String[]) - Constructor for class PropertyPage
Initialize a new PropertyPage object using the supplied parameters and default values where needed.
PropertyPage(String, String, Image, MIDlet, String, String[]) - Constructor for class PropertyPage
Initialize a new PropertyPage object using the supplied parameters.
PView - class PView.
This class implements a midlet that reads and displays various device properties.
PView() - Constructor for class PView
Construct the screens needed to implement the midlet.

Q

QuitableMIDlet - class menu.QuitableMIDlet.
This class is a kludge in order to let the PageMgr terminate the running midlet when the user requests that we Exit.
QuitableMIDlet() - Constructor for class menu.QuitableMIDlet
 
quitApp() - Method in class menu.QuitableMIDlet
Call destroyApp, then notifyDestroyed, thereby shutting down this midlet.

R

readFields(DataInputStream) - Method in class UserAccount
Read the data for this object from the given DataInputStream.
readFields(DataInputStream) - Method in interface store.Storable
Read in the values of this object.
readUserDataObject() - Method in class store.StorableObject
Read an array of bytes from the record store, then use the methods provided by a Storable object to update the fields of the object.
removeAllChildren() - Method in class menu.MenuPage
Remove all children from the list for this MenuPage.
ROOT - Static variable in class menu.PageMgr
Display the root page of the hierarchy

S

setHost(String) - Method in class UserAccount
Set the host for this object.
setLabel(String) - Method in class UserAccount
Set the label for this object.
setPassword(String) - Method in class UserAccount
Set the password for this object.
setPrevious(Page) - Method in class menu.Page
Set pointer to previous page visited.
setUsername(String) - Method in class UserAccount
Set the username for this object.
showRoot() - Method in class menu.PageMgr
Activate the device display by showing the root Page.
startApp() - Method in class AccountViewer
Initialize the various data objects and related screens.
startApp() - Method in class ImageViewer
Called by the application management software to signal the MIDlet that it has entered the Active state.
startApp() - Method in class PView
Initialize the various data objects and related screens.
STOP_COMMAND - Static variable in class menu.PageMgr
User requests termination of on-going action.
Storable - interface store.Storable.
This interface defines the methods that a class must implement in order to be stored in RMS using the methods of the StorableObject class.
StorableObject - class store.StorableObject.
A StorableObject contains a reference to an object that implements the Storable interface, and also contains the name of the record store and specific record id where this object is kept.
StorableObject(String, int, Storable) - Constructor for class store.StorableObject
Create a new StorableObject.
store - package store
 

U

UserAccount - class UserAccount.
This class contains the information needed to identify a user account on a particular host.
UserAccount() - Constructor for class UserAccount
Construct a new UserAccount object with empty Strings for all of the fields.
UserAccount(String, String, String, String) - Constructor for class UserAccount
Construct a new UserAccount object using the supplied strings.

W

writeFields(DataOutputStream) - Method in class UserAccount
Write the data for this object out onto the given DataOutputStream.
writeFields(DataOutputStream) - Method in interface store.Storable
Write out the values of this object.
writeUserDataObject() - Method in class store.StorableObject
Write the fields of a Storable object into an array of bytes, then write that array of bytes into the RecordStore.

A B C D E G H I L M N O P Q R S U W