Class JMail.MessageFrame
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JMail.MessageFrame

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----JMail.MessageFrame

public class MessageFrame
extends Frame
Class to handle the actual message and how it is displayed to the screen.

Constructor Index

 o MessageFrame(Frame, Mailbox, String, int)
Method used to set instance variables and create the windows to hold the message and then display it to the screen.

Method Index

 o handleEvent(Event)
This method handles all interaction from the user.
 o show()
Method to show the frame

Constructors

 o MessageFrame
  public MessageFrame(Frame parent,
                      Mailbox mailbox_parm,
                      String name,
                      int msgnum_parm)
Method used to set instance variables and create the windows to hold the message and then display it to the screen.
Parameters:
Frame - parent the parent frame of the message frame
Mailbox - mailbox_parm the mailbox instance variable
String - name the name of the sender
int - msgnum_parm the message number instance variable

Methods

 o handleEvent
  public synchronized boolean handleEvent(Event e)
This method handles all interaction from the user.
Parameters:
Event - e event that occured on the frame
Returns:
true if successful, false otherwise
Overrides:
handleEvent in class Component
 o show
  public void show()
Method to show the frame
Overrides:
show in class Window

All Packages  Class Hierarchy  This Package  Previous  Next  Index