Class SwingViewBuilderFactory

    • Method Detail

      • create

        public ViewBuilder create​(Controller c,
                                  int documentViewType,
                                  int documentPageFitMode)
        Description copied from interface: ViewBuilderFactory
        Creates a ViewBuilder for the given controller and arguments
        Specified by:
        create in interface ViewBuilderFactory
        Parameters:
        c - The controller
        documentViewType - The initial view type
        documentPageFitMode - The initial fit mode
        Returns:
        The viewbuilder
      • create

        public ViewBuilder create​(Controller c,
                                  int documentViewType,
                                  int documentPageFitMode,
                                  float rotation)
        Description copied from interface: ViewBuilderFactory
        Creates a ViewBuilder for the given controller and arguments
        Specified by:
        create in interface ViewBuilderFactory
        Parameters:
        c - The controller
        documentViewType - The initial view type
        documentPageFitMode - The initial fit mode
        rotation - The initial view rotation
        Returns:
        The viewbuilder
      • create

        public ViewBuilder create​(Controller c,
                                  Font bf,
                                  boolean bt,
                                  int ts,
                                  float[] zl,
                                  int documentViewType,
                                  int documentPageFitMode)
        Description copied from interface: ViewBuilderFactory
        Creates a ViewBuilder for the given controller and arguments
        Specified by:
        create in interface ViewBuilderFactory
        Parameters:
        c - The controller
        documentViewType - The initial view type
        documentPageFitMode - The initial fit mode
        Returns:
        The viewbuilder
      • create

        public ViewBuilder create​(Controller c,
                                  ViewerPropertiesManager properties,
                                  Font bf,
                                  boolean bt,
                                  int ts,
                                  float[] zl,
                                  int documentViewType,
                                  int documentPageFitMode,
                                  float rotation)
        Description copied from interface: ViewBuilderFactory
        Creates a ViewBuilder for the given controller and arguments
        Specified by:
        create in interface ViewBuilderFactory
        Parameters:
        c - The controller
        properties - The initial properties
        documentViewType - The initial view type
        documentPageFitMode - The initial fit mode
        rotation - The initial document rotation
        Returns:
        The viewbuilder