Example usage for Java com.google.gwt.user.client.ui FormPanel fields, constructors, methods, implement or subclass
The text is from its open source code.
String | ENCODING_MULTIPART Used with #setEncoding(String) to specify that the form will be submitted using MIME encoding (necessary for FileUpload to work properly). |
String | ENCODING_URLENCODED Used with #setEncoding(String) to specify that the form will be submitted using traditional URL encoding. |
String | METHOD_GET Used with #setMethod(String) to specify that the form will be submitted using an HTTP GET request. |
String | METHOD_POST Used with #setMethod(String) to specify that the form will be submitted using an HTTP POST request (necessary for FileUpload to work properly). |
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. |
void | addFormHandler(FormHandler handler) |
HandlerRegistration | addSubmitCompleteHandler(SubmitCompleteHandler handler) Adds a SubmitCompleteEvent handler. |
HandlerRegistration | addSubmitHandler(SubmitHandler handler) Adds a SubmitEvent handler. |
String | getAction() Gets the 'action' associated with this form. |
void | reset() Resets the form, clearing all fields. |
void | setAction(String url) Sets the 'action' associated with this form. |
void | setAction(SafeUri url) Sets the 'action' associated with this form. |
void | setEncoding(String encodingType) Sets the encoding used for submitting this form. |
void | setMethod(String method) Sets the HTTP method used for submitting this form. |
void | submit() Submits the form. |
FormPanel | wrap(Element element, boolean createIFrame) Creates a FormPanel that wraps an existing <form> element. |