org.jfree.layouting.modules.output.graphics

Class PhysicalPageDrawable

public class PhysicalPageDrawable extends Object implements PageDrawable

Creation-Date: 17.11.2006, 18:00:46

Author: Thomas Morgner

Constructor Summary
PhysicalPageDrawable(LogicalPageDrawable pageDrawable, PhysicalPageBox page)
Method Summary
voiddraw(Graphics2D g2, Rectangle2D area)
Draws the object.
PageFormatgetPageFormat()
DimensiongetPreferredSize()
booleanisPreserveAspectRatio()

Constructor Detail

PhysicalPageDrawable

public PhysicalPageDrawable(LogicalPageDrawable pageDrawable, PhysicalPageBox page)

Method Detail

draw

public void draw(Graphics2D g2, Rectangle2D area)
Draws the object.

Parameters: g2 the graphics device. area the area inside which the object should be drawn.

getPageFormat

public PageFormat getPageFormat()

getPreferredSize

public Dimension getPreferredSize()

isPreserveAspectRatio

public boolean isPreserveAspectRatio()