Package snap.view

Class PageView

All Implemented Interfaces:
PropChange.DoChange, XMLArchiver.Archivable, ViewHost

public class PageView extends ChildView
A View subclass to represent a DocView page.
  • Constructor Details

    • PageView

      public PageView()
      Creates a new PageView.
  • Method Details

    • getDoc

      public DocView getDoc()
      Returns the document.
    • getMarginRect

      public Rect getMarginRect()
      Returns the margin rect.
    • getDefaultFill

      public Paint getDefaultFill()
      Override to return white.
      Overrides:
      getDefaultFill in class View
    • getDefaultBorder

      public Border getDefaultBorder()
      Returns the default border.
      Overrides:
      getDefaultBorder in class View
    • paintBack

      protected void paintBack(Painter aPntr)
      Override to page page margin.
      Overrides:
      paintBack in class View