org.jfree.report.util

Class ComponentDrawable

Implemented Interfaces:
ExtendedDrawable

public class ComponentDrawable
extends java.lang.Object
implements ExtendedDrawable

Creation-Date: 11.10.2005, 14:03:15
Author:
Thomas Morgner

Constructor Summary

ComponentDrawable()

Method Summary

void
draw(Graphics2D g2, Rectangle2D area)
Component
getComponent()
Dimension
getPreferredSize()
protected static Window
getWindowAncestor(Component component)
boolean
isAllowOwnPeer()
boolean
isPaintSynchronously()
boolean
isPreserveAspectRatio()
void
setAllowOwnPeer(boolean allowOwnPeer)
void
setComponent(Component component)
void
setPaintSynchronously(boolean paintSynchronously)
void
setPreserveAspectRatio(boolean preserveAspectRatio)

Constructor Details

ComponentDrawable

public ComponentDrawable()

Method Details

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)