Class NavigationToolbar

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants

public class NavigationToolbar extends JToolBar

NavigationToolbar class.

See Also:
  • Field Details

    • currentPageBox

      protected final JTextField currentPageBox
      the current page number text field.
  • Constructor Details

    • NavigationToolbar

      public NavigationToolbar(PDFViewer PDFViewer)

      Constructor for NavigationToolbar.

      Parameters:
      PDFViewer - a PDFViewer object.
  • Method Details

    • setTotalNoOfPages

      public void setTotalNoOfPages(int noOfPages)

      Setter for the field totalNoOfPages.

      Parameters:
      noOfPages - a Integer object.
    • setCurrentPage

      public void setCurrentPage(int currentPage)

      setCurrentPage.

      Parameters:
      currentPage - a Integer object.
    • executeCommand

      public void executeCommand(int type)

      executeCommand.

      Parameters:
      type - a Integer object.