Class PageFormatPreviewPane.AutoScalePageBackgroundDrawable
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.modules.gui.base.internal.PageBackgroundDrawable
-
- org.pentaho.reporting.engine.classic.core.modules.gui.print.PageFormatPreviewPane.AutoScalePageBackgroundDrawable
-
- Enclosing class:
- PageFormatPreviewPane
protected class PageFormatPreviewPane.AutoScalePageBackgroundDrawable extends PageBackgroundDrawable
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AutoScalePageBackgroundDrawable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
draw(Graphics2D g2, Rectangle2D area)
Draws the object.Dimension
getPreferredSize()
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.gui.base.internal.PageBackgroundDrawable
getBackend, getDefaultHeight, getDefaultWidth, getShadowSize, getZoom, isBorderPainted, isPreserveAspectRatio, setBackend, setBorderPainted, setDefaultHeight, setDefaultWidth, setShadowSize, setZoom
-
-
-
-
Method Detail
-
getPreferredSize
public Dimension getPreferredSize()
- Overrides:
getPreferredSize
in classPageBackgroundDrawable
-
draw
public void draw(Graphics2D g2, Rectangle2D area)
Draws the object.- Overrides:
draw
in classPageBackgroundDrawable
- Parameters:
g2
- the graphics device.area
- the area inside which the object should be drawn.
-
-