Skip to main content

ResetFormAction Class

An action that resets PDF form fields to their default values.

Declaration

public class ResetFormAction extends InteractiveAction

Remarks

The ResetFormAction class defines a form reset action that clears or restores values of specified form fields.

Use the setFields method to specify form fields affected by the action.

Call the setExcludeFields(true) method to reset all form fields except the specified fields.

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
JavaObject
InteractiveAction
ResetFormAction

ResetFormAction()

Initializes a new instance of the ResetFormAction class.

Declaration

public ResetFormAction()

Methods

getExcludeFields() Method

Returns whether the specified form fields are excluded from the reset operation.

Declaration

public boolean getExcludeFields()

Returns

Type Description
boolean

true if the specified fields are excluded; otherwise, false.

getFields() Method

Returns form fields associated with the reset action.

Declaration

public List<FormField> getFields()

Returns

Type Description
java.util.List<FormField>

A list of FormField objects affected by the action.

setExcludeFields(boolean value) Method

Sets whether the specified form fields are excluded from the reset operation.

Declaration

public void setExcludeFields(boolean value)

Parameters

Name Type Description
value boolean

true to exclude the specified fields from the reset operation; otherwise, false.

setFields(List<FormField> value) Method

Sets form fields associated with the reset action.

Declaration

public void setFields(List<FormField> value)

Parameters

Name Type Description
value java.util.List<FormField>

A list of FormField objects affected by the action.