Interface ViewBuilderFactory

  • All Known Implementing Classes:
    SwingViewBuilderFactory

    public interface ViewBuilderFactory
    Factory for ViewBuilders
    • Method Detail

      • create

        ViewBuilder create​(Controller c)
        Creates a ViewBuilder for the given controller
        Parameters:
        c - The controller
        Returns:
        The viewbuilder
      • create

        ViewBuilder create​(Controller c,
                           ViewerPropertiesManager properties)
        Creates a ViewBuilder for the given controller and properties
        Parameters:
        c - The controller
        properties - The properties
        Returns:
        The viewbuilder
      • create

        ViewBuilder create​(Controller c,
                           int documentViewType,
                           int documentPageFitMode)
        Creates a ViewBuilder for the given controller and arguments
        Parameters:
        c - The controller
        documentViewType - The initial view type
        documentPageFitMode - The initial fit mode
        Returns:
        The viewbuilder
      • create

        ViewBuilder create​(Controller c,
                           int documentViewType,
                           int documentPageFitMode,
                           float rotation)
        Creates a ViewBuilder for the given controller and arguments
        Parameters:
        c - The controller
        documentViewType - The initial view type
        documentPageFitMode - The initial fit mode
        rotation - The initial view rotation
        Returns:
        The viewbuilder
      • create

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

        ViewBuilder create​(Controller c,
                           ViewerPropertiesManager properties,
                           Font bf,
                           boolean bt,
                           int ts,
                           float[] zl,
                           int documentViewType,
                           int documentPageFitMode,
                           float rotation)
        Creates a ViewBuilder for the given controller and arguments
        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