Class PrintActionPlugin
- java.lang.Object
-
- org.jfree.report.modules.gui.swing.common.AbstractActionPlugin
-
- 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
Constructors Constructor Description PrintActionPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Method Detail
-
getConfigurationPrefix
protected java.lang.String getConfigurationPrefix()
- Specified by:
getConfigurationPrefix
in classAbstractActionPlugin
-
initialize
public boolean initialize(SwingGuiContext context)
- Specified by:
initialize
in interfaceActionPlugin
- Overrides:
initialize
in classAbstractActionPlugin
-
getDisplayName
public java.lang.String getDisplayName()
Returns the display name for the export action.- Specified by:
getDisplayName
in interfaceActionPlugin
- Returns:
- The display name.
-
getShortDescription
public java.lang.String getShortDescription()
Returns the short description for the export action.- Specified by:
getShortDescription
in interfaceActionPlugin
- Returns:
- The short description.
-
getSmallIcon
public javax.swing.Icon getSmallIcon()
Returns the small icon for the export action.- Specified by:
getSmallIcon
in interfaceActionPlugin
- Returns:
- The icon.
-
getLargeIcon
public javax.swing.Icon getLargeIcon()
Returns the large icon for the export action.- Specified by:
getLargeIcon
in interfaceActionPlugin
- Returns:
- The icon.
-
getAcceleratorKey
public javax.swing.KeyStroke getAcceleratorKey()
Returns the accelerator key for the export action.- Specified by:
getAcceleratorKey
in interfaceActionPlugin
- Returns:
- The accelerator key.
-
getMnemonicKey
public java.lang.Integer getMnemonicKey()
Returns the mnemonic key code.- Specified by:
getMnemonicKey
in interfaceActionPlugin
- Returns:
- The code.
-
performExport
public boolean performExport(ReportJob job)
Exports a report.- Specified by:
performExport
in interfaceExportActionPlugin
- Parameters:
job
- the report.- Returns:
- A boolean.
-
-