Please note that this documentation is not final and is subject to change.
javax.swing.text.html
Class FormSubmitEvent
java.lang.Object
java.util.EventObject
javax.swing.event.HyperlinkEvent
javax.swing.text.html.HTMLFrameHyperlinkEvent
javax.swing.text.html.FormSubmitEvent
- All Implemented Interfaces:
- Serializable
public class FormSubmitEvent
- extends HTMLFrameHyperlinkEvent
FormSubmitEvent is used to notify interested
parties that a form was submited.
- Since:
- 1.5
getMethod
public FormSubmitEvent.MethodType getMethod()
- Gets the form method type.
- Returns:
- the form method type, either
Method.GET
or Method.POST
.
getData
public String getData()
- Gets the form submission data.
- Returns:
- the string representing the form submission data.
Submit a bug or feature Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to the terms of the GNU General Public License.