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(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.
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.

Method Summary

IconTheme
getIconTheme()
ReportController
getReportController()
ReportJob
getReportJob()
protected void
init()
void
setIconTheme(IconTheme theme)
void
setReportController(ReportController reportController)
void
setReportJob(ReportJob reportJob)

Constructor Details

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.

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
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
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
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
See Also:
java.awt.GraphicsEnvironment.isHeadless, javax.swing.JComponent.getDefaultLocale

Method Details

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)