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
FormSubmitEvent is used to notify interested
parties that a form was submitted.
- Since:
- 1.5
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Represents an HTML form method type.Nested classes/interfaces inherited from class HyperlinkEvent
HyperlinkEvent.EventType
-
Field Summary
Fields inherited from class EventObject
source
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
Gets the form submission data.Gets the form method type.Methods inherited from class HTMLFrameHyperlinkEvent
getTarget
Methods inherited from class HyperlinkEvent
getDescription, getEventType, getInputEvent, getSourceElement, getURL
Methods inherited from class EventObject
getSource, toString
-
Method Details
-
getMethod
Gets the form method type.- Returns:
- the form method type, either
Method.GET
orMethod.POST
.
-
getData
Gets the form submission data.- Returns:
- the string representing the form submission data.
-