|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDictionary> it.stefanochizzolini.clown.documents.interaction.forms.FieldActions
public class FieldActions
Form field actions [PDF:1.6:8.5.2].
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 |
---|
public FieldActions(Document context)
public FieldActions(PdfDirectObject baseObject, PdfIndirectObject container)
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.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |