org.pentaho.reporting.engine.classic.core.modules.gui.base.internal
Class PageBackgroundDrawable

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.modules.gui.base.internal.PageBackgroundDrawable

public class PageBackgroundDrawable
extends Object

Creation-Date: 17.11.2006, 20:31:36

Author:
Thomas Morgner

Constructor Summary
PageBackgroundDrawable()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageBackgroundDrawable

public PageBackgroundDrawable()
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.