Class PageBackgroundDrawable
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.modules.gui.base.internal.PageBackgroundDrawable
-
- Direct Known Subclasses:
PageFormatPreviewPane.AutoScalePageBackgroundDrawable
public class PageBackgroundDrawable extends Object
Creation-Date: 17.11.2006, 20:31:36- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description PageBackgroundDrawable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
draw(Graphics2D graphics, Rectangle2D area)
Draws the object.PageDrawable
getBackend()
int
getDefaultHeight()
int
getDefaultWidth()
Dimension
getPreferredSize()
float
getShadowSize()
double
getZoom()
boolean
isBorderPainted()
boolean
isPreserveAspectRatio()
void
setBackend(PageDrawable backend)
void
setBorderPainted(boolean borderPainted)
void
setDefaultHeight(int defaultHeight)
void
setDefaultWidth(int defaultWidth)
void
setShadowSize(float shadowSize)
void
setZoom(double zoom)
-
-
-
Method Detail
-
getBackend
public PageDrawable getBackend()
-
setBackend
public void setBackend(PageDrawable backend)
-
isBorderPainted
public boolean isBorderPainted()
-
setBorderPainted
public void setBorderPainted(boolean borderPainted)
-
getZoom
public double getZoom()
-
setZoom
public void setZoom(double zoom)
-
getDefaultWidth
public int getDefaultWidth()
-
setDefaultWidth
public void setDefaultWidth(int defaultWidth)
-
getDefaultHeight
public int getDefaultHeight()
-
setDefaultHeight
public void setDefaultHeight(int defaultHeight)
-
getPreferredSize
public Dimension getPreferredSize()
-
isPreserveAspectRatio
public boolean isPreserveAspectRatio()
-
getShadowSize
public float getShadowSize()
-
setShadowSize
public void setShadowSize(float shadowSize)
-
draw
public void draw(Graphics2D graphics, Rectangle2D area)
Draws the object.- Parameters:
graphics
- the graphics device.area
- the area inside which the object should be drawn.
-
-