|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfree.layouting.modules.output.graphics.LogicalPageDrawable
public class LogicalPageDrawable
The page drawable is the content provider for the Graphics2DOutputTarget. This component is responsible for rendering the current page to a Graphics2D object.
| Constructor Summary | |
|---|---|
LogicalPageDrawable(LogicalPageBox rootBox)
|
|
| Method Summary | |
|---|---|
void |
draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area)
Draws the object. |
void |
drawBox(java.awt.Graphics2D g2,
RenderBox box,
int level)
|
java.awt.print.PageFormat |
getPageFormat()
Describes the physical output characteristics like page size, margins, and imaginable area. |
java.awt.Dimension |
getPreferredSize()
Returns the preferred size of the drawable. |
static java.lang.String |
glpyhToString(Glyph g)
|
boolean |
isPreserveAspectRatio()
Returns true, if this drawable will preserve an aspect ratio during the drawing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogicalPageDrawable(LogicalPageBox rootBox)
| Method Detail |
|---|
public java.awt.print.PageFormat getPageFormat()
PageDrawable
getPageFormat in interface PageDrawablepublic java.awt.Dimension getPreferredSize()
getPreferredSize in interface PageDrawablepublic boolean isPreserveAspectRatio()
isPreserveAspectRatio in interface PageDrawable
public void draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area)
draw in interface PageDrawableg2 - the graphics device.area - the area inside which the object should be drawn.
public void drawBox(java.awt.Graphics2D g2,
RenderBox box,
int level)
public static java.lang.String glpyhToString(Glyph g)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||