st
Class AccountForm

java.lang.Object
  |
  +--javax.microedition.lcdui.Displayable
        |
        +--javax.microedition.lcdui.Screen
              |
              +--javax.microedition.lcdui.Form
                    |
                    +--st.AccountForm

public class AccountForm
extends javax.microedition.lcdui.Form

Form used to enter customer account information and user preferences.


Field Summary
static byte PREVIEW_NONE
          Preview mode to show nothing.
static byte PREVIEW_POSTER
          Preview mode to show a poster.
 
Constructor Summary
AccountForm()
           
 
Method Summary
 java.lang.String getCreditCard()
           
 java.lang.String getPassword()
           
 byte getPreviewMode()
           
 java.lang.String getUsername()
           
 int getZipCode()
           
 void validateAll()
          Validate all fields.
 
Methods inherited from class javax.microedition.lcdui.Form
append, append, append, delete, get, insert, set, setItemStateListener, size
 
Methods inherited from class javax.microedition.lcdui.Screen
getTicker, getTitle, setTicker, setTitle
 
Methods inherited from class javax.microedition.lcdui.Displayable
addCommand, isShown, removeCommand, setCommandListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREVIEW_NONE

public static final byte PREVIEW_NONE
Preview mode to show nothing.

PREVIEW_POSTER

public static final byte PREVIEW_POSTER
Preview mode to show a poster.
Constructor Detail

AccountForm

public AccountForm()
Method Detail

validateAll

public void validateAll()
                 throws ApplicationException
Validate all fields.
Throws:
ApplicationException - when a field is invalid.

getUsername

public java.lang.String getUsername()

getPassword

public java.lang.String getPassword()

getPreviewMode

public byte getPreviewMode()

getZipCode

public int getZipCode()

getCreditCard

public java.lang.String getCreditCard()


Copyright © 2002 Sun Microsystems Inc. All rights reserved.