|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--menu.Page | +--AccountPage
An AccountPage is used to edit a UserAccount object. The user edits the fields of the object and then the inputs are stored in the associated user data object.
Constructor Summary | |
AccountPage(java.lang.String label,
StorableObject obj)
Initialize a new AccountPage object using the supplied parameters and default values where needed. |
|
AccountPage(java.lang.String label,
java.lang.String title,
javax.microedition.lcdui.Image icon,
StorableObject obj)
Initialize a new AccountPage object using the supplied parameters. |
Method Summary | |
int |
doCommandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable d)
Process the user command and return an integer value telling the PageMgr what to do next. |
javax.microedition.lcdui.Displayable |
getDisplayable()
Return the Displayable object for this AccountPage, completely filled in and ready to display. |
Methods inherited from class menu.Page |
getIcon, getLabel, getLinkedPage, getPrevious, getTitle, setPrevious |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AccountPage(java.lang.String label, java.lang.String title, javax.microedition.lcdui.Image icon, StorableObject obj)
label
- short label for this page (as might be used in
a menu)title
- longer label for this page (as might be used in
a screen title)icon
- small icon for this page (as might be used in
a toolbar or menuobj
- an instance of StorableObject. The
StorableObject contains a user data reference that
points to an instance of a UserAccount.public AccountPage(java.lang.String label, StorableObject obj)
label
- short label for this page (as might be used in
a menu)obj
- an instance of StorableObject. The
StorableObject contains a user data reference that
points to an instance of a UserAccount.Method Detail |
public int doCommandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable d)
doCommandAction
in class Page
c
- a Command object identifying the command.d
- the Displayable on which this event has occurred
public javax.microedition.lcdui.Displayable getDisplayable()
getDisplayable
in class Page
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |