Interface ActionHandler

All Known Implementing Classes:
DefaultActionHandler, org.jpedal.objects.acroforms.actions.EmptyActionHandler

public interface ActionHandler
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    A(Object e, FormObject formObject, int eventType)
    A action when pressed in active area ?
    void
    Bl(Object e, FormObject formObj)
    Bl action when input focus lost
    void
    C(FormObject formObject)
    C action when another field changes (recalculate this field) [javascript] should not be called other than from internal methods to action changes on other fields.
    void
    changeTo(String file, int page, Object location, Integer type, boolean storeView)
     
    void
    D(Object e, FormObject formObj)
    D action when cursor button pressed inside active area
    void
    E(Object e, FormObject formObject)
    E action when cursor enters active area
    void
    F(FormObject formObject)
    F the display formatting of the field (e.g 2 decimal places) [javascript]
    void
    Fo(Object e, FormObject formObj)
    Fo action on input focus
    org.jpedal.objects.layers.PdfLayerList
     
     
    int
    gotoDest(org.jpedal.objects.raw.PdfObject aobj, int mouseclicked, int dest)
     
    void
    init(PdfDecoderInt panel, org.jpedal.objects.Javascript javascript, org.jpedal.objects.acroforms.AcroRenderer defaultAcroRenderer)
     
    int
    K(Object e, FormObject formObject, int actionID)
    K action on - [javascript] keystroke in textfield or combobox modifys the list box selection (can access the keystroke for validity and reject or modify)
    void
    O(org.jpedal.objects.raw.PdfObject pdfObject, int type)
    O action when page containing is opened,
    void
    PC(org.jpedal.objects.raw.PdfObject pdfObject, int type)
    PC action when page is closed
    void
    PI(org.jpedal.objects.raw.PdfObject pdfObject, int type)
    PI action when no longer visible in viewer
    void
    PO(org.jpedal.objects.raw.PdfObject pdfObject, int type)
    PO action when page containing is opened, action O from page dictionary, and OpenAction in document catalog should be done first
    void
    PV(org.jpedal.objects.raw.PdfObject pdfObject, int type)
    PV action on viewing containing page
    setup hand cursor when hovering and reset, on exiting
    void
    U(Object e, FormObject formObj)
    U action when cursor button released inside active area
    void
    V(Object e, FormObject formObject, int actionID)
    V action when fields value is changed [javascript]
    void
    X(Object e, FormObject formObject)
    X action when cursor exits active area
  • Field Details

  • Method Details

    • A

      void A(Object e, FormObject formObject, int eventType)
      A action when pressed in active area ?some others should now be ignored?
      Parameters:
      e - Object contained by the action
      formObject - - Actual formObject containing data
      eventType - - type of event (Keystroke, focus)
    • E

      void E(Object e, FormObject formObject)
      E action when cursor enters active area
      Parameters:
      e - Object contained by the action
      formObject - - Actual formObject containing data
    • X

      void X(Object e, FormObject formObject)
      X action when cursor exits active area
      Parameters:
      e - Object contained by the action
      formObject - - Actual formObject containing data
    • D

      void D(Object e, FormObject formObj)
      D action when cursor button pressed inside active area
      Parameters:
      e - Object contained by the action
      formObj - - Actual formObject containing data
    • U

      void U(Object e, FormObject formObj)
      U action when cursor button released inside active area
      Parameters:
      e - Object contained by the action
      formObj - - Actual formObject containing data
    • Fo

      void Fo(Object e, FormObject formObj)
      Fo action on input focus
      Parameters:
      e - Object contained by the action
      formObj - - Actual formObject containing data
    • Bl

      void Bl(Object e, FormObject formObj)
      Bl action when input focus lost
      Parameters:
      e - Object contained by the action
      formObj - - Actual formObject containing data
    • PO

      void PO(org.jpedal.objects.raw.PdfObject pdfObject, int type)
      PO action when page containing is opened, action O from page dictionary, and OpenAction in document catalog should be done first
      Parameters:
      pdfObject - - of the opening page
      type - - the type of action
    • O

      void O(org.jpedal.objects.raw.PdfObject pdfObject, int type)
      O action when page containing is opened,
      Parameters:
      pdfObject - - of the opening page
      type - - the type of action
    • PC

      void PC(org.jpedal.objects.raw.PdfObject pdfObject, int type)
      PC action when page is closed
      Parameters:
      pdfObject - - of the opening page
      type - - the type of action
    • PV

      void PV(org.jpedal.objects.raw.PdfObject pdfObject, int type)
      PV action on viewing containing page
      Parameters:
      pdfObject - - of the opening page
      type - - the type of action
    • PI

      void PI(org.jpedal.objects.raw.PdfObject pdfObject, int type)
      PI action when no longer visible in viewer
      Parameters:
      pdfObject - - of the opening page
      type - - the type of action
    • K

      int K(Object e, FormObject formObject, int actionID)
      K action on - [javascript] keystroke in textfield or combobox modifys the list box selection (can access the keystroke for validity and reject or modify)
      Parameters:
      e - - Object contained by the action
      formObject - - Actual formObject containing data
      actionID - - integer value of the actionID
      Returns:
      the action
    • F

      void F(FormObject formObject)
      F the display formatting of the field (e.g 2 decimal places) [javascript]
      Parameters:
      formObject - - Actual formObject containing data
    • V

      void V(Object e, FormObject formObject, int actionID)
      V action when fields value is changed [javascript]
      Parameters:
      e - - Object contained by the action
      formObject - - Actual formObject containing data
      actionID - - integer value of the actionID
    • C

      void C(FormObject formObject)
      C action when another field changes (recalculate this field) [javascript] should not be called other than from internal methods to action changes on other fields.
      Parameters:
      formObject - - Actual formObject containing data
    • getPDFDecoder

      PdfDecoderInt getPDFDecoder()
    • setHoverCursor

      Object setHoverCursor()
      setup hand cursor when hovering and reset, on exiting
      Returns:
      hand cursor
    • init

      void init(PdfDecoderInt panel, org.jpedal.objects.Javascript javascript, org.jpedal.objects.acroforms.AcroRenderer defaultAcroRenderer)
    • getLayerHandler

      org.jpedal.objects.layers.PdfLayerList getLayerHandler()
    • changeTo

      void changeTo(String file, int page, Object location, Integer type, boolean storeView)
    • gotoDest

      int gotoDest(org.jpedal.objects.raw.PdfObject aobj, int mouseclicked, int dest)