com.jrefinery.report.preview
Class CSVExportPlugin

java.lang.Object
  extended bycom.jrefinery.report.preview.AbstractExportPlugin
      extended bycom.jrefinery.report.preview.CSVExportPlugin
All Implemented Interfaces:
ExportPlugin

public class CSVExportPlugin
extends AbstractExportPlugin


Field Summary
static java.lang.String BASE_RESOURCE_CLASS
          The base resource class.
 
Constructor Summary
CSVExportPlugin()
           
 
Method Summary
 javax.swing.KeyStroke getAcceleratorKey()
          Returns the accelerator key for the action associated with the dialog.
 java.lang.String getDisplayName()
          Returns the display name for the CSV dialog.
 javax.swing.Icon getLargeIcon()
          Returns the large icon for the dialog.
 java.lang.Integer getMnemonicKey()
          Returns the mnemonic key code for the action associated with the dialog.
 java.lang.String getShortDescription()
          Returns a short description for the CSV dialog.
 javax.swing.Icon getSmallIcon()
          Returns the small icon for the dialog.
 void init(PreviewProxy proxy)
          Initializes the plugin to work with the given PreviewProxy.
 boolean performExport(JFreeReport report)
          Shows this dialog and (if the dialog is confirmed) saves the complete report into an Excel file.
 
Methods inherited from class com.jrefinery.report.preview.AbstractExportPlugin
getBase, getFailureDescription, getProxy, isAddToToolbar, isControlPlugin, isSeparated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASE_RESOURCE_CLASS

public static final java.lang.String BASE_RESOURCE_CLASS
The base resource class.

See Also:
Constant Field Values
Constructor Detail

CSVExportPlugin

public CSVExportPlugin()
Method Detail

performExport

public boolean performExport(JFreeReport report)
Shows this dialog and (if the dialog is confirmed) saves the complete report into an Excel file.

Parameters:
report - the report being processed.
Returns:
true or false.

getDisplayName

public java.lang.String getDisplayName()
Returns the display name for the CSV dialog.

Returns:
The name.

getShortDescription

public java.lang.String getShortDescription()
Returns a short description for the CSV dialog.

Returns:
The description.

getSmallIcon

public javax.swing.Icon getSmallIcon()
Returns the small icon for the dialog.

Returns:
The icon.

getLargeIcon

public javax.swing.Icon getLargeIcon()
Returns the large icon for the dialog.

Returns:
The icon.

getAcceleratorKey

public javax.swing.KeyStroke getAcceleratorKey()
Returns the accelerator key for the action associated with the dialog.

Returns:
The key stroke.

getMnemonicKey

public java.lang.Integer getMnemonicKey()
Returns the mnemonic key code for the action associated with the dialog.

Returns:
The key code.

init

public void init(PreviewProxy proxy)
Initializes the plugin to work with the given PreviewProxy.

Specified by:
init in interface ExportPlugin
Overrides:
init in class AbstractExportPlugin
Parameters:
proxy -