Class TwoPageView

    • Field Detail

      • viewAlignment

        protected final int viewAlignment
      • pageChangerListener

        protected final Object pageChangerListener
    • Method Detail

      • getNextPageIncrement

        public int getNextPageIncrement()
        Returns a next page increment of two.
        Returns:
        number of pages to increment page count on a page increment command.
      • getPreviousPageIncrement

        public int getPreviousPageIncrement()
        Returns a previous page increment of two.
        Returns:
        number of pages to increment page count on a page increment command.
      • getDocumentSize

        public Dimension getDocumentSize()
        Description copied from interface: DocumentView
        Gets the total size of the document view. This size will very depending on the view type. The size dimension has been normalized to a zoom factor of 1.0f and rotation is taken care off.
        Returns:
        size of document in pixels for all pages represented in the view.