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

Class JMail.CopyFrame

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

public class CopyFrame
extends Frame
Class to handle information about copying messages to a new folder. It creates a window to facilitate this as well as implementing the methods needed for the copy.

Constructor Index

 o CopyFrame(Connection, boolean, int, String, String, Frame)
This constructor sets the instance variables and creates the frame 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 super class.

Constructors

 o CopyFrame
  public CopyFrame(Connection c_parm,
                   boolean m,
                   int n,
                   String f,
                   String u,
                   Frame parent)
This constructor sets the instance variables and creates the frame on the screen.
Parameters:
Connection - c_parm the connection instance variable
boolean - m instance variable setting the move boolean
int - n the message number
String - f who the message is from
String - u the username instance variable
Frame - parent the frame that created this frame

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 super class.
Overrides:
show in class Window

All Packages  Class Hierarchy  This Package  Previous  Next  Index