This class represents a form field's dictionary of actions
that occur due to events.
Method from org.apache.pdfbox.pdmodel.interactive.action.PDFormFieldAdditionalActions Detail: |
public PDAction getC() {
COSDictionary c = (COSDictionary)actions.getDictionaryObject( "C" );
PDAction retval = null;
if( c != null )
{
retval = PDActionFactory.createAction( c );
}
return retval;
}
This will get a JavaScript action to be performed in order to recalculate
the value of this field when that of another field changes. The order in which
the document's fields are recalculated is defined by the CO entry in the
interactive form dictionary.
The name C stands for "calculate". |
public COSDictionary getCOSDictionary() {
return actions;
}
Convert this standard java object to a COS object. |
public COSBase getCOSObject() {
return actions;
}
Convert this standard java object to a COS object. |
public PDAction getF() {
COSDictionary f = (COSDictionary)actions.getDictionaryObject( "F" );
PDAction retval = null;
if( f != null )
{
retval = PDActionFactory.createAction( f );
}
return retval;
}
This will get a JavaScript action to be performed before
the field is formatted to display its current value. This
allows the field's value to be modified before formatting. |
public PDAction getK() {
COSDictionary k = (COSDictionary)actions.getDictionaryObject( "K" );
PDAction retval = null;
if( k != null )
{
retval = PDActionFactory.createAction( k );
}
return retval;
}
This will get 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. This allows the keystroke to
be checked for validity and rejected or modified. |
public PDAction getV() {
COSDictionary v = (COSDictionary)actions.getDictionaryObject( "V" );
PDAction retval = null;
if( v != null )
{
retval = PDActionFactory.createAction( v );
}
return retval;
}
This will get a JavaScript action to be performed
when the field's value is changed. This allows the
new value to be checked for validity.
The name V stands for "validate". |
public void setC(PDAction c) {
actions.setItem( "C", c );
}
This will set a JavaScript action to be performed in order to recalculate
the value of this field when that of another field changes. The order in which
the document's fields are recalculated is defined by the CO entry in the
interactive form dictionary.
The name C stands for "calculate". |
public void setF(PDAction f) {
actions.setItem( "F", f );
}
This will set a JavaScript action to be performed before
the field is formatted to display its current value. This
allows the field's value to be modified before formatting. |
public void setK(PDAction k) {
actions.setItem( "K", k );
}
This will set 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. This allows the keystroke to
be checked for validity and rejected or modified. |
public void setV(PDAction v) {
actions.setItem( "V", v );
}
This will set a JavaScript action to be performed
when the field's value is changed. This allows the
new value to be checked for validity.
The name V stands for "validate". |