public class PrintingPlugin extends AbstractExportActionPlugin
java.awt.print
API.
Modifier and Type | Field and Description |
---|---|
static String |
BASE_RESOURCE_CLASS
The base resource class.
|
static String |
PROGRESS_DIALOG_ENABLE_KEY |
ENABLED_PROPERTY
Constructor and Description |
---|
PrintingPlugin()
DefaultConstructor.
|
Modifier and Type | Method and Description |
---|---|
protected ReportProgressDialog |
createProgressDialog()
Creates the progress dialog that monitors the export process.
|
KeyStroke |
getAcceleratorKey()
Returns the accelerator key for the export action.
|
protected String |
getConfigurationPrefix() |
String |
getDisplayName()
Returns the display name for the export action.
|
Icon |
getLargeIcon()
Returns the large icon for the export action.
|
Integer |
getMnemonicKey()
Returns the mnemonic key code.
|
protected ResourceBundleSupport |
getResources()
Returns the resourcebundle used to translate strings.
|
String |
getShortDescription()
Returns the short description for the export action.
|
Icon |
getSmallIcon()
Returns the small icon for the export action.
|
boolean |
initialize(SwingGuiContext context) |
boolean |
performExport(MasterReport report)
Exports a report.
|
createExportDialog, deinitialize, isProgressDialogEnabled, performShowExportDialog
addPropertyChangeListener, addPropertyChangeListener, getBaseResources, getConfig, getContext, getIconTheme, getMenuOrder, getPropertyChangeSupport, getRole, getRolePreference, getToolbarOrder, isAddToMenu, isAddToToolbar, isEnabled, isSeparated, removePropertyChangeListener, setEnabled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, addPropertyChangeListener, getMenuOrder, getRole, getRolePreference, getToolbarOrder, isAddToMenu, isAddToToolbar, isEnabled, isSeparated, removePropertyChangeListener
public static final String BASE_RESOURCE_CLASS
public static final String PROGRESS_DIALOG_ENABLE_KEY
public boolean initialize(SwingGuiContext context)
initialize
in interface ActionPlugin
initialize
in class AbstractExportActionPlugin
protected ResourceBundleSupport getResources()
protected ReportProgressDialog createProgressDialog()
createProgressDialog
in class AbstractActionPlugin
protected String getConfigurationPrefix()
getConfigurationPrefix
in class AbstractActionPlugin
public boolean performExport(MasterReport report)
report
- the report.public String getDisplayName()
public String getShortDescription()
public Icon getSmallIcon()
public Icon getLargeIcon()
public KeyStroke getAcceleratorKey()
public Integer getMnemonicKey()
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.