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.
-
applet
-
-
emailField
-
-
emailLabel
-
-
msgBodyArea
-
-
msgBodyLabel
-
-
nameField
-
-
nameLabel
-
-
orgField
-
-
orgLabel
-
-
sendButton
-
-
Form(SendMail)
- The constructor
-
email()
- Return the value in the e-mail address field in the form
-
handleEvent(Event)
- Respond to the button click event: send the message.
-
message()
- Return the contents of the body of the form, including any "hidden" fields.
applet
net.SendMail applet
nameLabel
java.awt.Label nameLabel
nameField
java.awt.TextField nameField
emailLabel
java.awt.Label emailLabel
emailField
java.awt.TextField emailField
orgLabel
java.awt.Label orgLabel
orgField
java.awt.TextField orgField
msgBodyLabel
java.awt.Label msgBodyLabel
msgBodyArea
java.awt.TextArea msgBodyArea
sendButton
java.awt.Button sendButton
Form
public Form(net.SendMail ap)
- The constructor
email
public java.lang.String email()
- Return the value in the e-mail address field in the form
message
public java.lang.String message()
- Return the contents of the body of the form, including any "hidden" fields.
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