Module jEdit

Class PrintPreviewModel

java.lang.Object
java.awt.print.PageFormat
org.gjt.sp.jedit.print.PrintPreviewModel
All Implemented Interfaces:
Cloneable

public class PrintPreviewModel extends PageFormat
Data model for the print preview pane, contains setters and getters for the print preview display.
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getPageNumber

      public int getPageNumber()
    • setPageNumber

      public void setPageNumber(int number)
    • getPageRanges

      public HashMap<Integer,Range> getPageRanges()
    • setPageRanges

      public void setPageRanges(HashMap<Integer,Range> pageRanges)
    • setPrintRangeType

      public void setPrintRangeType(PrintRangeType type)
    • getPrintRangeType

      public PrintRangeType getPrintRangeType()
    • getPrintService

      public PrintService getPrintService()
      Returns the value of printService.
    • setPrintService

      public void setPrintService(PrintService printService)
      Sets the value of printService.
      Parameters:
      printService - The value to assign printService.
    • getAttributes

      public PrintRequestAttributeSet getAttributes()
      Returns the value of attributes.
    • setAttributes

      public void setAttributes(PrintRequestAttributeSet attributes)
      Sets the value of attributes.
      Parameters:
      attributes - The value to assign attributes.
    • getView

      public View getView()
      Returns the value of view.
    • setView

      public void setView(View view)
      Sets the value of view.
      Parameters:
      view - The value to assign view.
    • getBuffer

      public Buffer getBuffer()
      Returns the value of buffer.
    • setBuffer

      public void setBuffer(Buffer buffer)
      Sets the value of buffer.
      Parameters:
      buffer - The value to assign buffer.
    • setGraphics

      public void setGraphics(Graphics g)
    • getGraphics

      public Graphics getGraphics()
    • getZoom

      public PrintPreviewModel.Zoom getZoom()
    • setZoom

      public void setZoom(PrintPreviewModel.Zoom zoom)
    • setZoomLevel

      public void setZoomLevel(float level)
    • getZoomLevel

      public float getZoomLevel()