y.view
Class Graph2DPrinter.PrintContext
java.lang.Object
y.view.Graph2DPrinter.PrintContext
- Enclosing class:
- Graph2DPrinter
public static class Graph2DPrinter.PrintContext
- extends Object
Class that encapsulates contextual information when printing a page.
The current print context will be provided to the title drawable.
-
-

| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Graph2DPrinter.PrintContext
public Graph2DPrinter.PrintContext()
getCurrentColumn
public int getCurrentColumn()
- Returns:
- Returns the current print column
getCurrentPageNumber
public int getCurrentPageNumber()
- Returns:
- Returns the currentPageNumber that is printed
getCurrentRow
public int getCurrentRow()
- Returns:
- Returns the current print row
getGraphics2D
public Graphics2D getGraphics2D()
- Returns:
- Returns the graphics context used to print on.
getPageFormat
public PageFormat getPageFormat()
- Returns:
- Returns the page format of the currently printed page.
getPosterColumns
public int getPosterColumns()
- Returns:
- Returns the overall poster columns of the printed ducoment
getPosterRows
public int getPosterRows()
- Returns:
- Returns the overall poster rows of the printed document