|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jfree.layouting.input.AWTImageData
public class AWTImageData
Creation-Date: 14.12.2005, 14:03:08
| Constructor Summary | |
|---|---|
AWTImageData(org.pentaho.reporting.libraries.resourceloader.Resource source,
java.awt.Image image)
|
|
| Method Summary | |
|---|---|
void |
draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area)
Draws the object. |
long |
getHeight()
Returns the height of the image in micro-dots. |
java.awt.Dimension |
getPreferredSize()
Returns the preferred size of the drawable. |
org.pentaho.reporting.libraries.resourceloader.Resource |
getSource()
Returns the resource definition that was used to load the image. |
long |
getWidth()
Returns the width of the image in micro-dots. |
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 AWTImageData(org.pentaho.reporting.libraries.resourceloader.Resource source,
java.awt.Image image)
| Method Detail |
|---|
public org.pentaho.reporting.libraries.resourceloader.Resource getSource()
getSource in interface ImageDatapublic long getWidth()
ImageData
getWidth in interface ImageDatapublic long getHeight()
ImageData
getHeight in interface ImageDatapublic java.awt.Dimension getPreferredSize()
public boolean isPreserveAspectRatio()
public void draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area)
draw in interface ImageDatag2 - the graphics device.area - the area inside which the object should be drawn.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||