org.jfree.report.modules.gui.swing.printing
Class PrintActionPlugin

java.lang.Object
  extended by org.jfree.report.modules.gui.swing.common.AbstractActionPlugin
      extended by org.jfree.report.modules.gui.swing.printing.PrintActionPlugin
All Implemented Interfaces:
ActionPlugin, ExportActionPlugin

public class PrintActionPlugin
extends AbstractActionPlugin
implements ExportActionPlugin

Creation-Date: 16.11.2006, 16:31:23

Author:
Thomas Morgner

Field Summary
 
Fields inherited from class org.jfree.report.modules.gui.swing.common.AbstractActionPlugin
BASE_RESOURCE_CLASS
 
Constructor Summary
PrintActionPlugin()
           
 
Method Summary
 javax.swing.KeyStroke getAcceleratorKey()
          Returns the accelerator key for the export action.
protected  java.lang.String getConfigurationPrefix()
           
 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 initialize(SwingGuiContext context)
           
 boolean performExport(ReportJob job)
          Exports a report.
 
Methods inherited from class org.jfree.report.modules.gui.swing.common.AbstractActionPlugin
addPropertyChangeListener, addPropertyChangeListener, createProgressDialog, getConfig, getContext, getFailureDescription, getIconTheme, getMenuOrder, getPropertyChangeSupport, getRole, getRolePreference, getStatusText, getToolbarOrder, isAddToMenu, isAddToToolbar, isEnabled, isSeparated, removePropertyChangeListener, setEnabled, setStatusText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jfree.report.modules.gui.swing.common.ActionPlugin
addPropertyChangeListener, addPropertyChangeListener, getMenuOrder, getRole, getRolePreference, getToolbarOrder, isAddToMenu, isAddToToolbar, isSeparated, removePropertyChangeListener
 

Constructor Detail

PrintActionPlugin

public PrintActionPlugin()
Method Detail

getConfigurationPrefix

protected java.lang.String getConfigurationPrefix()
Specified by:
getConfigurationPrefix in class AbstractActionPlugin

initialize

public boolean initialize(SwingGuiContext context)
Specified by:
initialize in interface ActionPlugin
Overrides:
initialize in class AbstractActionPlugin

getDisplayName

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

Specified by:
getDisplayName in interface ActionPlugin
Returns:
The display name.

getShortDescription

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

Specified by:
getShortDescription in interface ActionPlugin
Returns:
The short description.

getSmallIcon

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

Specified by:
getSmallIcon in interface ActionPlugin
Returns:
The icon.

getLargeIcon

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

Specified by:
getLargeIcon in interface ActionPlugin
Returns:
The icon.

getAcceleratorKey

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

Specified by:
getAcceleratorKey in interface ActionPlugin
Returns:
The accelerator key.

getMnemonicKey

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

Specified by:
getMnemonicKey in interface ActionPlugin
Returns:
The code.

performExport

public boolean performExport(ReportJob job)
Exports a report.

Specified by:
performExport in interface ExportActionPlugin
Parameters:
job - the report.
Returns:
A boolean.