FileDocCategorySizeDatePackage
FormSubmitEvent.javaAPI DocJava SE 6 API2045Tue Jun 10 00:26:58 BST 2008javax.swing.text.html

FormSubmitEvent

public class FormSubmitEvent extends HTMLFrameHyperlinkEvent
FormSubmitEvent is used to notify interested parties that a form was submited.
version
1.5 04/07/06
since
1.5
author
Denis Sharypov

Fields Summary
private MethodType
method
private String
data
Constructors Summary
FormSubmitEvent(Object source, EventType type, URL targetURL, Element sourceElement, String targetFrame, MethodType method, String data)
Creates a new object representing an html form submit event.

param
source the object responsible for the event
param
type the event type
param
actionURL the form action URL
param
sourceElement the element that corresponds to the source of the event
param
targetFrame the Frame to display the document in
param
method the form method type
param
data the form submission data

        super(source, type, targetURL, sourceElement, targetFrame);
        this.method = method;
        this.data = data;
    
Methods Summary
public java.lang.StringgetData()
Gets the form submission data.

return
the string representing the form submission data.

        return data;
    
public javax.swing.text.html.FormSubmitEvent$MethodTypegetMethod()
Gets the form method type.

return
the form method type, either Method.GET or Method.POST.

        return method;