Package org.jpedal.objects.javascript
Interface ExpressionEngine
public interface ExpressionEngine
allow user to handle expressions with own implementation
-
Method Summary
Modifier and TypeMethodDescriptionint
adding code for the javascript to call as neededvoid
called on close to do any cleanupvoid
dispose()
int
execute
(FormObject ref, int type, String js, int eventType, char keyPressed) void
executeFunctions
(String jsCode, FormObject formObject) void
setAcroRenderer
(org.jpedal.objects.acroforms.AcroRenderer acro)
-
Method Details
-
execute
- Parameters:
ref
- ie 1 0 Rtype
- - defined in ActionHandler (ie K)js
- - Javascript stringeventType
- - type of event (Keystroke, focus)keyPressed
- - if key event, key value , otherwsie space- Returns:
- return code (ActionHandler.STOPPROCESSING to ignore JPedal handling)
-
closeFile
void closeFile()called on close to do any cleanup -
addCode
adding code for the javascript to call as needed- Parameters:
value
- code to add- Returns:
- int
-
executeFunctions
-
dispose
void dispose() -
setAcroRenderer
void setAcroRenderer(org.jpedal.objects.acroforms.AcroRenderer acro)
-