Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| PDF Clown 0.1.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.pdfclown.documents.interaction.forms
Class FieldActions

    java.lang.Object
      org.pdfclown.objects.PdfObjectWrapper<PdfDictionary>
          org.pdfclown.documents.interaction.forms.FieldActions

All Implemented Interfaces:
  Cloneable, IPdfObjectWrapper

    @PDF(value=PDF12)
    public final class FieldActions

extends PdfObjectWrapper<PdfDictionary>

Form field actions [PDF:1.6:8.5.2].

Since:
  0.0.7
Version:
  0.1.2, 12/21/12
Author:
  Stefano Chizzolini (http://www.stefanochizzolini.it)

Constructor Summary
`FieldActions(Document context)`

Method Summary
`FieldActions` | `clone(Document context)` Gets a clone of the object, registered inside the given document context.
`JavaScript` | `getOnCalculate()` Gets a JavaScript action to be performed to recalculate the value of this field when that of another field changes.
`JavaScript` | `getOnChange()` Gets a JavaScript action to be performed when the user types a keystroke into a text field or combo box or modifies the selection in a scrollable list box.
`JavaScript` | `getOnFormat()` Gets a JavaScript action to be performed before the field is formatted to display its current value.
`JavaScript` | `getOnValidate()` Gets a JavaScript action to be performed when the field's value is changed.
`void` | `setOnCalculate(JavaScript value)`
`void` | `setOnChange(JavaScript value)`
`void` | `setOnFormat(JavaScript value)`
`void` | `setOnValidate(JavaScript value)`

Methods inherited from class org.pdfclown.objects.PdfObjectWrapper
`checkCompatibility, delete, equals, exists, getBaseDataObject, getBaseObject, getBaseObject, getContainer, getDataContainer, getDocument, getFile, getMetadata, retrieveName, retrieveNamedBaseObject, setBaseObject, setMetadata`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FieldActions

    public FieldActions(Document context)

Method Detail

### clone

    public FieldActions clone(Document context)

  Description copied from class: `PdfObjectWrapper`
  Gets a clone of the object, registered inside the given document context.

  Overrides:
    `clone` in class `PdfObjectWrapper<PdfDictionary>`
  Parameters:
    `context` - Which document the clone has to be registered in.

### getOnCalculate

    public JavaScript getOnCalculate()

  Gets a JavaScript action to be performed to recalculate the value of this field when that of another field changes.

### getOnChange

    public JavaScript getOnChange()

  Gets a JavaScript action to be performed when the user types a keystroke into a text field or combo box or modifies the selection in a scrollable list box.

### getOnFormat

    public JavaScript getOnFormat()

  Gets a JavaScript action to be performed before the field is formatted to display its current value.

  This action can modify the field's value before formatting.

### getOnValidate

    public JavaScript getOnValidate()

  Gets a JavaScript action to be performed when the field's value is changed. This action can check the new value for validity.

### setOnCalculate

    public void setOnCalculate(JavaScript value)

  See Also:
    `getOnCalculate()`

### setOnChange

    public void setOnChange(JavaScript value)

  See Also:
    `getOnChange()`

### setOnFormat

    public void setOnFormat(JavaScript value)

  See Also:
    `getOnFormat()`

### setOnValidate

    public void setOnValidate(JavaScript value)

  See Also:
    `getOnValidate()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| PDF Clown 0.1.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Project home page
Copyright © 2006-2013 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.