com.jrefinery.report.preview
Class PDFExportPlugin

java.lang.Object
  |
  +--com.jrefinery.report.preview.AbstractExportPlugin
        |
        +--com.jrefinery.report.preview.PDFExportPlugin
All Implemented Interfaces:
ExportPlugin

public class PDFExportPlugin
extends AbstractExportPlugin


Field Summary
static java.lang.String BASE_RESOURCE_CLASS
          The base resource class.
 
Constructor Summary
PDFExportPlugin()
           
 
Method Summary
 javax.swing.KeyStroke getAcceleratorKey()
          Returns the accelerator key for the action.
 java.lang.String getDisplayName()
          Returns the display name.
 javax.swing.Icon getLargeIcon()
          Returns the large icon for the action.
 java.lang.Integer getMnemonicKey()
          Returns the mnemonic key code.
 java.lang.String getShortDescription()
          Returns the short description for the action.
 javax.swing.Icon getSmallIcon()
          Returns the small icon for the action.
 void init(PreviewProxy proxy)
          Initializes the plugin to work with the given PreviewProxy.
 boolean isAddToToolbar()
          Returns true.
 boolean performExport(JFreeReport report)
          Shows this dialog and (if the dialog is confirmed) saves the complete report into an PDF file.
 
Methods inherited from class com.jrefinery.report.preview.AbstractExportPlugin
getBase, getFailureDescription, getProxy, 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

PDFExportPlugin

public PDFExportPlugin()
Method Detail

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 -

performExport

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

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

getDisplayName

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

Returns:
The display name.

getShortDescription

public java.lang.String getShortDescription()
Returns the short description for the action.

Returns:
The short description.

getSmallIcon

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

Returns:
The icon.

getLargeIcon

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

Returns:
The icon.

getAcceleratorKey

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

Returns:
The accelerator key.

getMnemonicKey

public java.lang.Integer getMnemonicKey()
Returns the mnemonic key code.

Returns:
The key code.

isAddToToolbar

public boolean isAddToToolbar()
Returns true.

Specified by:
isAddToToolbar in interface ExportPlugin
Overrides:
isAddToToolbar in class AbstractExportPlugin
Returns:
true.