Interface ScriptingHandler
public interface ScriptingHandler
-
Method Summary
Modifier and TypeMethodDescriptioncalculate
(PDActionJavaScript javaScriptAction, String value) Handle the fields calculate event action.format
(PDActionJavaScript javaScriptAction, String value) Handle the fields format event action.keyboard
(PDActionJavaScript javaScriptAction, String value) Handle the fields keyboard event action.boolean
validate
(PDActionJavaScript javaScriptAction, String value) Handle the fields validate event action.
-
Method Details
-
keyboard
Handle the fields keyboard event action.- Parameters:
javaScriptAction
- the keyboard event action scriptvalue
- the current field value- Returns:
- the resulting field value
-
format
Handle the fields format event action.- Parameters:
javaScriptAction
- the format event action scriptvalue
- the current field value- Returns:
- the formatted field value
-
validate
Handle the fields validate event action.- Parameters:
javaScriptAction
- the validate event action scriptvalue
- the current field value- Returns:
- the result of the validity check
-
calculate
Handle the fields calculate event action.- Parameters:
javaScriptAction
- the calculate event action scriptvalue
- the current field value- Returns:
- the result of the field calculation
-