All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class net.strandberg.html.SubmitButton

java.lang.Object
   |
   +----net.strandberg.html.SubmitButton

public class SubmitButton
extends Object
implements HTMLItem

The class SubmitButton is used to create HTML Submit Buttons to be used in Forms. To create a submit button, inside an HTML form, that looks like this:

you would need HTML code like this:

   <INPUT TYPE="SUBMIT" VALUE="Press here to send request">
 
which is created by this Java code:
   SubmitButton sb = new SubmitButton("Press here to send request");
   String myString = sb.toHTML();
 

Version:
$Revision: 0.0 $
Author:
Mats Strandberg
See Also:
Form

Constructor Index

 o SubmitButton(String)

Method Index

 o main(String[])
Tests the class
 o toHTML()

Constructors

 o SubmitButton
 public SubmitButton(String label)

Methods

 o toHTML
 public String toHTML()
 o main
 public static void main(String args[])
Tests the class


All Packages  Class Hierarchy  This Package  Previous  Next  Index