org.jfree.report.modules.gui.swing.common
public abstract class AbstractExportDialog extends JDialog implements ExportDialog
| Constructor Summary | |
|---|---|
| AbstractExportDialog()
Creates a non-modal dialog without a title and without a specified
Frame owner. | |
| AbstractExportDialog(Frame owner)
Creates a non-modal dialog without a title with the specified
Frame as its owner. | |
| AbstractExportDialog(Dialog owner)
Creates a non-modal dialog without a title with the specified
Dialog as its owner.
| |
| Method Summary | |
|---|---|
| abstract void | clear() |
| protected Action | getCancelAction() |
| protected abstract String | getConfigurationPrefix() |
| protected abstract String | getConfigurationSuffix() |
| protected Action | getConfirmAction() |
| protected FormValidator | getFormValidator() |
| protected GuiContext | getGuiContext() |
| protected ReportJob | getReportJob() |
| protected abstract String | getResourceBaseName() |
| protected ResourceBundle | getResources()
Retrieves the resources for this dialog. |
| abstract JStatusBar | getStatusBar() |
| protected abstract 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 abstract void | initializeFromJob(ReportJob job, GuiContext guiContext) |
| boolean | isConfirmed()
Returns true if the user confirmed the selection, and
false otherwise. |
| protected boolean | isFullInputStorageEnabled(Configuration config) |
| protected boolean | isInputStorageEnabled(Configuration config) |
| protected boolean | performConfirm() |
| boolean | performQueryForExport(ReportJob reportJob, GuiContext guiContext)
Opens the dialog to query all necessary input from the user. |
| protected abstract boolean | performValidate() |
| protected File | resolvePath(String baseDirectory)
Resolves file names for the exports. |
| protected void | setCancelAction(Action cancelAction) |
| protected void | setConfirmAction(Action confirmAction) |
| protected void | setConfirmed(boolean confirmed)
Defines whether this dialog has been finished using the 'OK' or the
'Cancel' option.
|
| protected abstract void | setDialogContents(Configuration properties) |
Frame owner. A shared, hidden frame will be set as the owner
of the dialog.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
Dialog as its owner.
Parameters: owner the non-null Dialog from which the dialog is
displayed
Returns: this frames ResourceBundle.
Parameters: full
Returns:
true if the user confirmed the selection, and
false otherwise. The file should only be saved if the result
is true.
Returns: A boolean.
Parameters: reportJob the report that should be processed.
Returns: true, if the processing should continue, false otherwise.
Parameters: baseDirectory the base directory as specified in the configuration.
Returns: the file object pointing to that directory.
Throws: IllegalArgumentException if the base directory is null.
Parameters: confirmed set to true, if OK was pressed,
false otherwise