Class DefaultActionHandler

java.lang.Object
org.jpedal.objects.acroforms.actions.EmptyActionHandler
org.jpedal.objects.acroforms.actions.DefaultActionHandler
All Implemented Interfaces:
ActionHandler

public class DefaultActionHandler extends org.jpedal.objects.acroforms.actions.EmptyActionHandler
  • Constructor Details

    • DefaultActionHandler

      public DefaultActionHandler(org.jpedal.examples.viewer.gui.SwingGUI viewerGUI)
  • Method Details

    • init

      public void init(PdfDecoderInt decode_pdf, org.jpedal.objects.Javascript javascript, org.jpedal.objects.acroforms.AcroRenderer acrorend)
      Specified by:
      init in interface ActionHandler
      Overrides:
      init in class org.jpedal.objects.acroforms.actions.EmptyActionHandler
    • setHoverCursor

      public Object setHoverCursor()
      Description copied from interface: ActionHandler
      setup hand cursor when hovering and reset, on exiting
      Specified by:
      setHoverCursor in interface ActionHandler
      Overrides:
      setHoverCursor in class org.jpedal.objects.acroforms.actions.EmptyActionHandler
      Returns:
      hand cursor
    • changeTo

      public void changeTo(String file, int page, Object location, Integer type, boolean storeView)
      this calls the PdfDecoder to open a new page and change to the correct page and location on page, is any value is null, it means leave as is.
      Specified by:
      changeTo in interface ActionHandler
      Overrides:
      changeTo in class org.jpedal.objects.acroforms.actions.EmptyActionHandler
      Parameters:
      type - - the type of action
    • D

      public void D(Object e, FormObject formObj)
      D action when cursor button pressed inside active area
      Specified by:
      D in interface ActionHandler
      Overrides:
      D in class org.jpedal.objects.acroforms.actions.EmptyActionHandler
      Parameters:
      e - Object contained by the action
      formObj - - Actual formObject containing data