Java com.google.gwt.user.client.ui FormPanel fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.user.client.ui FormPanel fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.user.client.ui FormPanel.

The text is from its open source code.

Subclass

com.google.gwt.user.client.ui.FormPanel has subclasses.
Click this link to see all its subclasses.

Field

StringENCODING_MULTIPART
Used with #setEncoding(String) to specify that the form will be submitted using MIME encoding (necessary for FileUpload to work properly).
StringENCODING_URLENCODED
Used with #setEncoding(String) to specify that the form will be submitted using traditional URL encoding.
StringMETHOD_GET
Used with #setMethod(String) to specify that the form will be submitted using an HTTP GET request.
StringMETHOD_POST
Used with #setMethod(String) to specify that the form will be submitted using an HTTP POST request (necessary for FileUpload to work properly).

Constructor

FormPanel()
Creates a new FormPanel.
FormPanel(NamedFrame frameTarget)
Creates a FormPanel that targets a NamedFrame .
FormPanel(String target)
Creates a new FormPanel.
FormPanel(Element element)
This constructor may be used by subclasses to explicitly use an existing element.

Method

voidaddFormHandler(FormHandler handler)
HandlerRegistrationaddSubmitCompleteHandler(SubmitCompleteHandler handler)
Adds a SubmitCompleteEvent handler.
HandlerRegistrationaddSubmitHandler(SubmitHandler handler)
Adds a SubmitEvent handler.
StringgetAction()
Gets the 'action' associated with this form.
voidreset()
Resets the form, clearing all fields.
voidsetAction(String url)
Sets the 'action' associated with this form.
voidsetAction(SafeUri url)
Sets the 'action' associated with this form.
voidsetEncoding(String encodingType)
Sets the encoding used for submitting this form.
voidsetMethod(String method)
Sets the HTTP method used for submitting this form.
voidsubmit()
Submits the form.
FormPanelwrap(Element element, boolean createIFrame)
Creates a FormPanel that wraps an existing <form> element.