Class FWPDFPanel

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class FWPDFPanel extends FWDefaultPanel
Panel showing the PDF file given by the observable parameter url (file URI) in the internal viewer, optionally with thumbnails (thumbs) and starting at page.
Author:
Andreas Enders
See Also:
  • Constructor Details

    • FWPDFPanel

      public FWPDFPanel(FWAbstractFunctionality aFunctionality)
      Parameters:
      aFunctionality - the functionality providing the parameters
    • FWPDFPanel

      public FWPDFPanel(FWAbstractFunctionality aFunctionality, boolean aCreateButtonPanel)
      Parameters:
      aFunctionality - the functionality providing the parameters
      aCreateButtonPanel - whether the navigation buttons are shown
  • Method Details

    • initializePanel

      public void initializePanel()
      Opens the PDF file and goes to the page given by parameter page (1-based).
    • print

      protected void print()
      Description copied from class: FWDefaultPanel
      called from action performed - you can overwrite it in extended class or use this
      Overrides:
      print in class FWDefaultPanel