org.jfree.report.util

Class ComponentDrawable

public class ComponentDrawable extends Object implements ExtendedDrawable

Creation-Date: 11.10.2005, 14:03:15

Author: Thomas Morgner

Constructor Summary
ComponentDrawable()
Method Summary
voiddraw(Graphics2D g2, Rectangle2D area)
ComponentgetComponent()
DimensiongetPreferredSize()
protected static WindowgetWindowAncestor(Component component)
booleanisAllowOwnPeer()
booleanisPaintSynchronously()
booleanisPreserveAspectRatio()
voidsetAllowOwnPeer(boolean allowOwnPeer)
voidsetComponent(Component component)
voidsetPaintSynchronously(boolean paintSynchronously)
voidsetPreserveAspectRatio(boolean preserveAspectRatio)

Constructor Detail

ComponentDrawable

public ComponentDrawable()

Method Detail

draw

public void draw(Graphics2D g2, Rectangle2D area)

getComponent

public Component getComponent()

getPreferredSize

public Dimension getPreferredSize()

getWindowAncestor

protected static Window getWindowAncestor(Component component)

isAllowOwnPeer

public boolean isAllowOwnPeer()

isPaintSynchronously

public boolean isPaintSynchronously()

isPreserveAspectRatio

public boolean isPreserveAspectRatio()

setAllowOwnPeer

public void setAllowOwnPeer(boolean allowOwnPeer)

setComponent

public void setComponent(Component component)

setPaintSynchronously

public void setPaintSynchronously(boolean paintSynchronously)

setPreserveAspectRatio

public void setPreserveAspectRatio(boolean preserveAspectRatio)