public class HTMLPane.FormActionEvent extends ActionEvent
HTMLPane to pass form-submission information to
any ActionListener objects.
When a form is submitted by the user, an actionPerformed() message
that carries a FormActionEvent is sent to all registered
action listeners. They can use the event object to get the
method and action attributes of the form tag as well as the
set of data provided by the form elements.ACTION_FIRST, ACTION_LAST, ACTION_PERFORMED, ALT_MASK, CTRL_MASK, META_MASK, SHIFT_MASKACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASKsource| Modifier and Type | Method and Description |
|---|---|
String |
action()
Return the action= attribute of the <form> tag
|
Properties |
data()
Return the a set of properties representing the name=value
pairs that would be sent to the server on form submission.
|
String |
method()
Return the method= attribute of the <form> tag
|
HTMLPane |
source()
Convenience method, works the same as
(HTMLPane)( event.getSource() ) |
getActionCommand, getModifiers, getWhen, paramStringgetSourcepublic String method()
public String action()
public Properties data()
public HTMLPane source()
(HTMLPane)( event.getSource() )Copyright © 2018 B3Partners B.V.. All rights reserved.