Search this API

y.view
Class Graph2DPrinter.PrintContext

java.lang.Object
  extended by y.view.Graph2DPrinter.PrintContext
Enclosing class:
Graph2DPrinter

public static class Graph2DPrinter.PrintContext
extends java.lang.Object

Class that encapsulates contextual information when printing a page. The current print context will be provided to the title drawable.

 
Your browser does not support SVG content.

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

Constructor Detail

Graph2DPrinter.PrintContext

public Graph2DPrinter.PrintContext()
Method Detail

getCurrentColumn

public int getCurrentColumn()
Returns the current print column.


getCurrentPageNumber

public int getCurrentPageNumber()
Returns the currentPageNumber that is printed.


getCurrentRow

public int getCurrentRow()
Returns the current print row.


getGraphics2D

public java.awt.Graphics2D getGraphics2D()
Returns the graphics context used to print on.


getPageFormat

public java.awt.print.PageFormat getPageFormat()
Returns the page format of the currently printed page.


getPosterColumns

public int getPosterColumns()
Returns the overall poster columns of the printed document.


getPosterRows

public int getPosterRows()
Returns the overall poster rows of the printed document.


© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.