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

Class JMail.JMailFrame

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

public class JMailFrame
extends Frame
Abstract class which extracts procedures that are used by several of the windows for drawing components on the frames.

Constructor Index

 o JMailFrame()

Method Index

 o add_button(String, GridBagLayout, GridBagConstraints)
Method to add a button to the specified GridBagLayout.
 o add_label(String, String, int, int, GridBagLayout, GridBagConstraints)
Method to add a label to the specified GridBagLayout.
 o add_logo()
Add the application logo to the frame.

Constructors

 o JMailFrame
  public JMailFrame()

Methods

 o add_button
  public Button add_button(String name,
                           GridBagLayout gridbag,
                           GridBagConstraints constraints)
Method to add a button to the specified GridBagLayout.
Parameters:
String - name the name of the component to be added
GridBagLayout - gridbag the layout the button will be added to
GridBagConstraints - constraints the constraints imposed on button size
 o add_label
  public void add_label(String name,
                        String fontname,
                        int fontstyle,
                        int fontsize,
                        GridBagLayout gridbag,
                        GridBagConstraints constraints)
Method to add a label to the specified GridBagLayout.
Parameters:
String - name the name of the component to be added
String - fontname the name of the font to be used
int - fontstyle the numerical value for the font style to be used
int - fontsize the size of the font to be used
GridBagLayout - gridbag the layout the label will be added to
GridBagConstraints - constraints the constraints imposed on label size
 o add_logo
  public int add_logo()
Add the application logo to the frame.
Returns:
integer

All Packages  Class Hierarchy  This Package  Previous  Next  Index