org.jfree.report.demo.helper
Class DemoDrawable

java.lang.Object
  extended byorg.jfree.report.demo.helper.DemoDrawable
All Implemented Interfaces:
org.jfree.ui.Drawable

public class DemoDrawable
extends java.lang.Object
implements org.jfree.ui.Drawable

A simple implementation of the Drawable interface, used for a report demonstration.

Author:
Thomas Morgner.

Constructor Summary
DemoDrawable()
          Default constructor.
 
Method Summary
 void draw(java.awt.Graphics2D graphics, java.awt.geom.Rectangle2D bounds)
          Draws the item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DemoDrawable

public DemoDrawable()
Default constructor.

Method Detail

draw

public void draw(java.awt.Graphics2D graphics,
                 java.awt.geom.Rectangle2D bounds)
Draws the item.

Specified by:
draw in interface org.jfree.ui.Drawable
Parameters:
graphics - the graphics implementation.
bounds - the bounds.