org.jfree.report.modules.gui.swing.preview

Class PreviewDialog

public class PreviewDialog extends JDialog

Creation-Date: 11.11.2006, 19:35:16

Author: Thomas Morgner

Constructor Summary
PreviewDialog()
Creates a non-modal dialog without a title and without a specified Frame owner.
PreviewDialog(Frame owner)
Creates a non-modal dialog without a title with the specified Frame as its owner.
PreviewDialog(Frame owner, boolean modal)
Creates a modal or non-modal dialog without a title and with the specified owner Frame.
PreviewDialog(Dialog owner)
Creates a non-modal dialog without a title with the specified Dialog as its owner.
PreviewDialog(Dialog owner, boolean modal)
Creates a modal or non-modal dialog without a title and with the specified owner dialog.
Method Summary
IconThemegetIconTheme()
ReportControllergetReportController()
ReportJobgetReportJob()
protected voidinit()
voidsetIconTheme(IconTheme theme)
voidsetReportController(ReportController reportController)
voidsetReportJob(ReportJob reportJob)

Constructor Detail

PreviewDialog

public PreviewDialog()
Creates a non-modal dialog without a title and without a specified Frame owner. A shared, hidden frame will be set as the owner of the dialog.

This constructor sets the component's locale property to the value returned by JComponent.getDefaultLocale.

Throws: java.awt.HeadlessException if GraphicsEnvironment.isHeadless() returns true.

See Also: java.awt.GraphicsEnvironment#isHeadless javax.swing.JComponent#getDefaultLocale

PreviewDialog

public PreviewDialog(Frame owner)
Creates a non-modal dialog without a title with the specified Frame as its owner. If owner is null, a shared, hidden frame will be set as the owner of the dialog.

This constructor sets the component's locale property to the value returned by JComponent.getDefaultLocale.

Parameters: owner the Frame from which the dialog is displayed

Throws: java.awt.HeadlessException if GraphicsEnvironment.isHeadless() returns true.

See Also: java.awt.GraphicsEnvironment#isHeadless javax.swing.JComponent#getDefaultLocale

PreviewDialog

public PreviewDialog(Frame owner, boolean modal)
Creates a modal or non-modal dialog without a title and with the specified owner Frame. If owner is null, a shared, hidden frame will be set as the owner of the dialog.

This constructor sets the component's locale property to the value returned by JComponent.getDefaultLocale.

Parameters: owner the Frame from which the dialog is displayed modal true for a modal dialog, false for one that allows others windows to be active at the same time

Throws: java.awt.HeadlessException if GraphicsEnvironment.isHeadless() returns true.

See Also: java.awt.GraphicsEnvironment#isHeadless javax.swing.JComponent#getDefaultLocale

PreviewDialog

public PreviewDialog(Dialog owner)
Creates a non-modal dialog without a title with the specified Dialog as its owner.

This constructor sets the component's locale property to the value returned by JComponent.getDefaultLocale.

Parameters: owner the non-null Dialog from which the dialog is displayed

Throws: java.awt.HeadlessException if GraphicsEnvironment.isHeadless() returns true.

See Also: java.awt.GraphicsEnvironment#isHeadless javax.swing.JComponent#getDefaultLocale

PreviewDialog

public PreviewDialog(Dialog owner, boolean modal)
Creates a modal or non-modal dialog without a title and with the specified owner dialog.

This constructor sets the component's locale property to the value returned by JComponent.getDefaultLocale.

Parameters: owner the non-null Dialog from which the dialog is displayed modal true for a modal dialog, false for one that allows other windows to be active at the same time

Throws: java.awt.HeadlessException if GraphicsEnvironment.isHeadless() returns true.

See Also: java.awt.GraphicsEnvironment#isHeadless javax.swing.JComponent#getDefaultLocale

Method Detail

getIconTheme

public IconTheme getIconTheme()

getReportController

public ReportController getReportController()

getReportJob

public ReportJob getReportJob()

init

protected void init()

setIconTheme

public void setIconTheme(IconTheme theme)

setReportController

public void setReportController(ReportController reportController)

setReportJob

public void setReportJob(ReportJob reportJob)