com.jrefinery.report.preview
Class PrintingPlugin

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

public class PrintingPlugin
extends AbstractExportPlugin


Field Summary
static java.lang.String BASE_RESOURCE_CLASS
          The base resource class.
 
Constructor Summary
PrintingPlugin()
           
 
Method Summary
 javax.swing.KeyStroke getAcceleratorKey()
          Returns the accelerator key for the export action.
 java.lang.String getDisplayName()
          Returns the display name for the export action.
 javax.swing.Icon getLargeIcon()
          Returns the large icon for the export action.
 java.lang.Integer getMnemonicKey()
          Returns the mnemonic key code.
 java.lang.String getShortDescription()
          Returns the short description for the export action.
 javax.swing.Icon getSmallIcon()
          Returns the small icon for the export action.
 boolean isAddToToolbar()
          Returns true if the action should be added to the toolbar, and false otherwise.
 boolean performExport(JFreeReport report)
          Exports a report.
 
Methods inherited from class com.jrefinery.report.preview.AbstractExportPlugin
getBase, getFailureDescription, getProxy, init, 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

PrintingPlugin

public PrintingPlugin()
Method Detail

performExport

public boolean performExport(JFreeReport report)
Exports a report.

Parameters:
report - the report.
Returns:
A boolean.

getDisplayName

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

Returns:
The display name.

getShortDescription

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

Returns:
The short description.

getSmallIcon

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

Returns:
The icon.

getLargeIcon

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

Returns:
The icon.

getAcceleratorKey

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

Returns:
The accelerator key.

getMnemonicKey

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

Returns:
The code.

isAddToToolbar

public boolean isAddToToolbar()
Returns true if the action should be added to the toolbar, and false otherwise.

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