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.
-
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.
-
handleEvent(Event)
- This method handles all interaction from the user.
-
show()
- Method to show the frame
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
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
show
public void show()
- Method to show the frame
- Overrides:
- show in class Window
All Packages Class Hierarchy This Package Previous Next Index