PDF Clown
0.0.8

it.stefanochizzolini.clown.documents.interaction.forms
Class FieldActions

java.lang.Object
  extended by it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDictionary>
      extended by it.stefanochizzolini.clown.documents.interaction.forms.FieldActions

public class FieldActions
extends PdfObjectWrapper<PdfDictionary>

Form field actions [PDF:1.6:8.5.2].

Since:
0.0.7
Version:
0.0.7
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Constructor Summary
FieldActions(Document context)
           
FieldActions(PdfDirectObject baseObject, PdfIndirectObject container)
           
 
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 it.stefanochizzolini.clown.objects.PdfObjectWrapper
delete, getBaseDataObject, getBaseObject, getContainer, getDocument, getFile, setBaseObject, setContainer, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldActions

public FieldActions(Document context)

FieldActions

public FieldActions(PdfDirectObject baseObject,
                    PdfIndirectObject container)
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.

Specified by:
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()

PDF Clown
0.0.8

Project home page

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