y.view
Class Graph2DPrinter.PrintContext

java.lang.Object
  extended by 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.

 
Your browser does not support SVG content.

Constructor Summary
Graph2DPrinter.PrintContext()
           
 
Method Summary
 int getCurrentColumn()
           
 int getCurrentPageNumber()
           
 int getCurrentRow()
           
 Graphics2D getGraphics2D()
           
 PageFormat getPageFormat()
           
 int getPosterColumns()
           
 int getPosterRows()
           
 
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:
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

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