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

Class JMail.FolderWindow

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

public class FolderWindow
extends JMailFrame
Class to display the contents of a folder in a window and accept user input such as read, copy and delete.

Variable Index

 o DATE_WIDTH
constant width for the date section
 o FROM_WIDTH
constant width for the from section
 o HACK_PAD
constant for the hack pad
 o MIME_WIDTH
constant width for the mime section
 o NO_WIDTH
constant width for the message number
 o SEP
constant separator string
 o SUBJECT_WIDTH
constant width for the subject section

Constructor Index

 o FolderWindow(Frame, Connection, String, String)
This constructor creates the folder window and displays it on the screen.

Method Index

 o action(Event, Object)
This method performs an action on an event and an object.
 o handleEvent(Event)
This method handles all interaction from the user.
 o show()
Method to show the folder window.

Variables

 o NO_WIDTH
  public final static int NO_WIDTH
constant width for the message number
 o FROM_WIDTH
  public final static int FROM_WIDTH
constant width for the from section
 o SUBJECT_WIDTH
  public final static int SUBJECT_WIDTH
constant width for the subject section
 o DATE_WIDTH
  public final static int DATE_WIDTH
constant width for the date section
 o MIME_WIDTH
  public final static int MIME_WIDTH
constant width for the mime section
 o SEP
  public final static String SEP
constant separator string
 o HACK_PAD
  public final static int HACK_PAD
constant for the hack pad

Constructors

 o FolderWindow
  public FolderWindow(Frame desktop_parm,
                      Connection c_parm,
                      String name_param,
                      String u)
This constructor creates the folder window and displays it on the screen. It also sets instance variables.
Parameters:
Frame - desktop_parm desktop instance variable
Connection - c_parm the connection instance variable
String - name_param the name instance variable
String - u the username instance variable

Methods

 o action
  public boolean action(Event evt,
                        Object obj)
This method performs an action on an event and an object.
Parameters:
Event - evt the event which caused the action
Object - obj the object receiving the action
Returns:
false
Overrides:
action in class Component
 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 folder window.
Overrides:
show in class Window

All Packages  Class Hierarchy  This Package  Previous  Next  Index