com.bankframe.fe.html
Class Form

java.lang.Object
  extended bycom.bankframe.fe.html.HTMLWidget
      extended bycom.bankframe.fe.html.Form

public class Form
extends HTMLWidget

This class implements a HTML form Widget.


Constructor Summary
Form(java.lang.String method, java.lang.String action)
          Constructor.
Form(java.lang.String name, java.lang.String method, java.lang.String action)
          Constructor.
 
Method Summary
 void addWidget(HTMLWidget w)
          This method adds a HTML widget to this form.
 java.lang.String toHTML()
          This method generates a HTML representation of this widget.
 
Methods inherited from class com.bankframe.fe.html.HTMLWidget
quote, quote
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Form

public Form(java.lang.String method,
            java.lang.String action)
Constructor.

Parameters:
method - the form Submission method (submit, reset etc.)
action - the action to carry out on submit

Form

public Form(java.lang.String name,
            java.lang.String method,
            java.lang.String action)
Constructor.

Parameters:
name - the form name
method - the form submission method
action - the action to carry out when submitting this form
Method Detail

addWidget

public void addWidget(HTMLWidget w)
This method adds a HTML widget to this form.

Parameters:
w - the widget to add

toHTML

public java.lang.String toHTML()
This method generates a HTML representation of this widget.

Specified by:
toHTML in class HTMLWidget
Returns:
a string containing HTML markup


Copyright © 2005, 2007, Oracle. All rights reserved.