Class FullScreenMode

  • public class FullScreenMode
    extends ViewerWidget
    Create a menu item that will display the Document in "Full Screen" mode. Pressing escape will exit form this mode. This feature may also be run as the result of a named action or the documents initial view setting (see PDF.setOption("view.fullscreen")). The name of this feature is FullScreen

    This code is copyright the Big Faceless Organization. You're welcome to use, modify and distribute it in any form in your own projects, provided those projects continue to make use of the Big Faceless PDF library.

    • Constructor Detail

      • FullScreenMode

        public FullScreenMode()
    • Method Detail

      • setFullScreen

        public void setFullScreen​(boolean fullscreen,
                                  DocumentViewport viewport)
        Set the specified Viewport to be the fullscreen viewport or not
        fullscreen - whether to display the viewport as fullscreen
        viewport - the DocumentViewport