contents
Class ComposeScreen

java.lang.Object
  extended by Form
      extended by contents.ComposeScreen

public class ComposeScreen
extends Form

Screen for writing mails

Author:
Gabriele Bianchi

Field Summary
static Command BACK
           
static Command BACKTEXT
           
 TextField cc
           
 Alert noSend
           
 TextField rec_address
           
static Command SEND
           
 TextField subject
           
 TextBox text
           
static java.lang.String title_forw
           
static java.lang.String title_reply
           
static Command WRITETEXT
           
 Alert yesSend
           
 
Constructor Summary
ComposeScreen(StartMidlet _midlet)
           
ComposeScreen(StartMidlet _midlet, Message _message, java.lang.String title, boolean isReply)
           
 
Method Summary
 void commandAction(Command cmd, Displayable dsp)
           
 Displayable getGuiText()
          get mail text
 void getSendFailedGui(java.lang.String exc)
          send failure
 void notifySendSuccess()
          send success
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BACK

public static Command BACK

BACKTEXT

public static Command BACKTEXT

cc

public TextField cc

noSend

public Alert noSend

rec_address

public TextField rec_address

SEND

public static Command SEND

subject

public TextField subject

text

public TextBox text

title_forw

public static java.lang.String title_forw

title_reply

public static java.lang.String title_reply

WRITETEXT

public static Command WRITETEXT

yesSend

public Alert yesSend
Constructor Detail

ComposeScreen

public ComposeScreen(StartMidlet _midlet)

ComposeScreen

public ComposeScreen(StartMidlet _midlet,
                     Message _message,
                     java.lang.String title,
                     boolean isReply)
Method Detail

commandAction

public void commandAction(Command cmd,
                          Displayable dsp)
Parameters:
cmd -
dsp -

getGuiText

public Displayable getGuiText()
get mail text

Returns:

getSendFailedGui

public void getSendFailedGui(java.lang.String exc)
send failure

Parameters:
exc -

notifySendSuccess

public void notifySendSuccess()
send success