Interface ScriptingHandler
-
public interface ScriptingHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
calculate(PDActionJavaScript javaScriptAction, java.lang.String value)
Handle the fields calculate event action.java.lang.String
format(PDActionJavaScript javaScriptAction, java.lang.String value)
Handle the fields format event action.java.lang.String
keyboard(PDActionJavaScript javaScriptAction, java.lang.String value)
Handle the fields keyboard event action.boolean
validate(PDActionJavaScript javaScriptAction, java.lang.String value)
Handle the fields validate event action.
-
-
-
Method Detail
-
keyboard
java.lang.String keyboard(PDActionJavaScript javaScriptAction, java.lang.String value)
Handle the fields keyboard event action.- Parameters:
javaScriptAction
- the keyboard event action scriptvalue
- the current field value- Returns:
- the resulting field value
-
format
java.lang.String format(PDActionJavaScript javaScriptAction, java.lang.String value)
Handle the fields format event action.- Parameters:
javaScriptAction
- the format event action scriptvalue
- the current field value- Returns:
- the formatted field value
-
validate
boolean validate(PDActionJavaScript javaScriptAction, java.lang.String value)
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
java.lang.String calculate(PDActionJavaScript javaScriptAction, java.lang.String value)
Handle the fields calculate event action.- Parameters:
javaScriptAction
- the calculate event action scriptvalue
- the current field value- Returns:
- the result of the field calculation
-
-