Interface ExpressionEngine


public interface ExpressionEngine
allow user to handle expressions with own implementation
  • Method Details

    • execute

      int execute(FormObject ref, int type, String js, int eventType, char keyPressed)
      Parameters:
      ref - ie 1 0 R
      type - - defined in ActionHandler (ie K)
      js - - Javascript string
      eventType - - 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

      int addCode(String value)
      adding code for the javascript to call as needed
      Parameters:
      value - code to add
      Returns:
      int
    • executeFunctions

      void executeFunctions(String jsCode, FormObject formObject)
    • dispose

      void dispose()
    • setAcroRenderer

      void setAcroRenderer(org.jpedal.objects.acroforms.AcroRenderer acro)