org.jfree.report.modules.gui.swing.html

Class HtmlFileExportDialog

Implemented Interfaces:
ExportDialog

public class HtmlFileExportDialog
extends AbstractExportDialog

A dialog that is used to perform the printing of a report into an HTML file.

Constructor Summary

HtmlFileExportDialog()
Creates a non-modal dialog without a title and without a specified Frame owner.
HtmlFileExportDialog(Dialog owner)
Creates a non-modal dialog without a title with the specified Dialog as its owner.
HtmlFileExportDialog(Frame owner)
Creates a non-modal dialog without a title with the specified Frame as its owner.

Method Summary

void
clear()
protected String
getConfigurationPrefix()
protected String
getConfigurationSuffix()
String
getExportMethod()
String
getFilename()
protected String
getResourceBaseName()
JStatusBar
getStatusBar()
protected Configuration
grabDialogContents(boolean full)
Returns a new (and not connected to the default config from the job) configuration containing all properties from the dialog.
protected void
initializeFromJob(ReportJob job, GuiContext guiContext)
protected boolean
performConfirm()
protected void
performSelectFile()
Selects a file to use as target for the report processing.
protected boolean
performValidate()
protected void
setDialogContents(Configuration properties)
void
setExportMethod(String method)
void
setFilename(String filename)

Methods inherited from class org.jfree.report.modules.gui.swing.common.AbstractExportDialog

clear, getCancelAction, getConfigurationPrefix, getConfigurationSuffix, getConfirmAction, getFormValidator, getGuiContext, getReportJob, getResourceBaseName, getResources, getStatusBar, grabDialogContents, initializeFromJob, isConfirmed, isFullInputStorageEnabled, isInputStorageEnabled, performConfirm, performQueryForExport, performValidate, resolvePath, setCancelAction, setConfirmAction, setConfirmed, setDialogContents

Constructor Details

HtmlFileExportDialog

public HtmlFileExportDialog()
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.

HtmlFileExportDialog

public HtmlFileExportDialog(Dialog owner)
Creates a non-modal dialog without a title with the specified Dialog as its owner.
Parameters:
owner - the non-null Dialog from which the dialog is displayed

HtmlFileExportDialog

public HtmlFileExportDialog(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.
Parameters:
owner - the Frame from which the dialog is displayed

Method Details

clear

public void clear()
Overrides:
clear in interface AbstractExportDialog

getConfigurationPrefix

protected String getConfigurationPrefix()
Overrides:
getConfigurationPrefix in interface AbstractExportDialog

getConfigurationSuffix

protected String getConfigurationSuffix()
Overrides:
getConfigurationSuffix in interface AbstractExportDialog

getExportMethod

public String getExportMethod()

getFilename

public String getFilename()

getResourceBaseName

protected String getResourceBaseName()
Overrides:
getResourceBaseName in interface AbstractExportDialog

getStatusBar

public JStatusBar getStatusBar()
Overrides:
getStatusBar in interface AbstractExportDialog

grabDialogContents

protected Configuration grabDialogContents(boolean full)
Returns a new (and not connected to the default config from the job) configuration containing all properties from the dialog.
Overrides:
grabDialogContents in interface AbstractExportDialog
Parameters:
full -
Returns:

initializeFromJob

protected void initializeFromJob(ReportJob job,
                                 GuiContext guiContext)
Overrides:
initializeFromJob in interface AbstractExportDialog

performConfirm

protected boolean performConfirm()
Overrides:
performConfirm in interface AbstractExportDialog

performSelectFile

protected void performSelectFile()
Selects a file to use as target for the report processing.

performValidate

protected boolean performValidate()
Overrides:
performValidate in interface AbstractExportDialog

setDialogContents

protected void setDialogContents(Configuration properties)
Overrides:
setDialogContents in interface AbstractExportDialog

setExportMethod

public void setExportMethod(String method)

setFilename

public void setFilename(String filename)