All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class net.Form

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----net.Form

class Form
extends java.awt.Panel
A form for obtaining user input. Customize this for your application, just as you would customize an HTML form for a Web-based e-mail application.


Variable Index

 o applet
 o emailField
 o emailLabel
 o msgBodyArea
 o msgBodyLabel
 o nameField
 o nameLabel
 o orgField
 o orgLabel
 o sendButton

Constructor Index

 o Form(SendMail)
The constructor

Method Index

 o email()
Return the value in the e-mail address field in the form
 o handleEvent(Event)
Respond to the button click event: send the message.
 o message()
Return the contents of the body of the form, including any "hidden" fields.

Variables

 o applet
 net.SendMail applet
 o nameLabel
 java.awt.Label nameLabel
 o nameField
 java.awt.TextField nameField
 o emailLabel
 java.awt.Label emailLabel
 o emailField
 java.awt.TextField emailField
 o orgLabel
 java.awt.Label orgLabel
 o orgField
 java.awt.TextField orgField
 o msgBodyLabel
 java.awt.Label msgBodyLabel
 o msgBodyArea
 java.awt.TextArea msgBodyArea
 o sendButton
 java.awt.Button sendButton

Constructors

 o Form
 public Form(net.SendMail ap)
The constructor

Methods

 o email
 public java.lang.String email()
Return the value in the e-mail address field in the form

 o message
 public java.lang.String message()
Return the contents of the body of the form, including any "hidden" fields.

 o handleEvent
 public boolean handleEvent(java.awt.Event e)
Respond to the button click event: send the message.

Overrides:
handleEvent in class java.awt.Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index