|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.util.ScalingExtendedDrawable
public class ScalingExtendedDrawable
Creation-Date: 20.01.2006, 19:46:10
Constructor Summary | |
---|---|
ScalingExtendedDrawable()
|
Method Summary | |
---|---|
void |
draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area)
Draws the object. |
org.jfree.ui.ExtendedDrawable |
getDrawable()
|
java.awt.Dimension |
getPreferredSize()
Returns the preferred size of the drawable. |
float |
getScaleX()
|
float |
getScaleY()
|
boolean |
isPreserveAspectRatio()
Returns true, if this drawable will preserve an aspect ratio during the drawing. |
void |
setDrawable(org.jfree.ui.ExtendedDrawable drawable)
|
void |
setScaleX(float scaleX)
|
void |
setScaleY(float scaleY)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScalingExtendedDrawable()
Method Detail |
---|
public org.jfree.ui.ExtendedDrawable getDrawable()
public void setDrawable(org.jfree.ui.ExtendedDrawable drawable)
public float getScaleY()
public void setScaleY(float scaleY)
public float getScaleX()
public void setScaleX(float scaleX)
public java.awt.Dimension getPreferredSize()
getPreferredSize
in interface org.jfree.ui.ExtendedDrawable
public boolean isPreserveAspectRatio()
isPreserveAspectRatio
in interface org.jfree.ui.ExtendedDrawable
public void draw(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D area)
draw
in interface org.jfree.ui.Drawable
g2
- 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 |