public class ResetFormAction extends FormAction
| Modifier and Type | Field and Description |
|---|---|
int |
INCLUDE_EXCLUDE_BIT
If clear, the Fields array specifies which fields to reset.
|
F_KEY, FIELDS_KEY, FLAGS_KEYACTION_TYPE, ACTION_TYPE_GOTO, ACTION_TYPE_GOTO_REMOTE, ACTION_TYPE_JAVA_SCRIPT, ACTION_TYPE_KEY, ACTION_TYPE_LAUNCH, ACTION_TYPE_NAMED, ACTION_TYPE_RESET_SUBMIT, ACTION_TYPE_SUBMIT_SUBMIT, ACTION_TYPE_URI, NEXT_KEYentries, FORM_TYPE_KEY, inited, isDeleted, isNew, LENGTH_KEY, library, SUBTYPE_KEY, TYPE_KEY| Constructor and Description |
|---|
ResetFormAction(Library l,
java.util.HashMap h) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
descendFormTree(java.lang.Object formNode)
Recursively reset all the form fields.
|
int |
executeFormAction(int x,
int y)
Upon invocation of a reset-form action, a conforming processor shall reset
selected interactive form fields to their default values; that is, it shall
set the value of the V entry in the field dictionary to that of the DV entry.
|
boolean |
isIncludeExclude() |
getFlagsbuildAction, getType, similargetEntries, getFloat, getInt, getLibrary, getNumber, getObject, getPObjectReference, init, isDeleted, isNew, setDeleted, setNew, setPObjectReference, toStringpublic int INCLUDE_EXCLUDE_BIT
public ResetFormAction(Library l, java.util.HashMap h)
public int executeFormAction(int x,
int y)
executeFormAction in class FormActionx - x-coordinate of the mouse event that actuated the submit.y - y-coordinate of the mouse event that actuated the submit.protected void descendFormTree(java.lang.Object formNode)
formNode - root form node.public boolean isIncludeExclude()
INCLUDE_EXCLUDE_BIT