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.
-
DATE_WIDTH
- constant width for the date section
-
FROM_WIDTH
- constant width for the from section
-
HACK_PAD
- constant for the hack pad
-
MIME_WIDTH
- constant width for the mime section
-
NO_WIDTH
- constant width for the message number
-
SEP
- constant separator string
-
SUBJECT_WIDTH
- constant width for the subject section
-
FolderWindow(Frame, Connection, String, String)
- This constructor creates the folder window and displays it on the screen.
-
action(Event, Object)
- This method performs an action on an event
and an object.
-
handleEvent(Event)
- This method handles all interaction from the user.
-
show()
- Method to show the folder window.
NO_WIDTH
public final static int NO_WIDTH
- constant width for the message number
FROM_WIDTH
public final static int FROM_WIDTH
- constant width for the from section
SUBJECT_WIDTH
public final static int SUBJECT_WIDTH
- constant width for the subject section
DATE_WIDTH
public final static int DATE_WIDTH
- constant width for the date section
MIME_WIDTH
public final static int MIME_WIDTH
- constant width for the mime section
SEP
public final static String SEP
- constant separator string
HACK_PAD
public final static int HACK_PAD
- constant for the hack pad
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
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
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 folder window.
- Overrides:
- show in class Window
All Packages Class Hierarchy This Package Previous Next Index