|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pdfclown.objects.PdfObjectWrapper<PdfDictionary> org.pdfclown.documents.interaction.forms.FieldActions
@PDF(value=PDF12) public final class FieldActions
Form field actions [PDF:1.6:8.5.2].
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 |
---|
public FieldActions(Document context)
Method Detail |
---|
public FieldActions clone(Document context)
PdfObjectWrapper
clone
in class PdfObjectWrapper<PdfDictionary>
context
- Which document the clone has to be registered in.public JavaScript getOnCalculate()
public JavaScript getOnChange()
public JavaScript getOnFormat()
This action can modify the field's value before formatting.
public JavaScript getOnValidate()
public void setOnCalculate(JavaScript value)
getOnCalculate()
public void setOnChange(JavaScript value)
getOnChange()
public void setOnFormat(JavaScript value)
getOnFormat()
public void setOnValidate(JavaScript value)
getOnValidate()
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |