Class PageSetupPlugin
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.AbstractActionPlugin
-
- org.pentaho.reporting.engine.classic.core.modules.gui.print.PageSetupPlugin
-
- All Implemented Interfaces:
ControlActionPlugin
,ActionPlugin
public class PageSetupPlugin extends AbstractActionPlugin implements ControlActionPlugin
An export control plugin that handles the setup of page format objects for the report.- Author:
- Thomas Morgner
-
-
Field Summary
-
Fields inherited from class org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.AbstractActionPlugin
ENABLED_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description PageSetupPlugin()
Default Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(PreviewPane pane)
void
deinitialize(SwingGuiContext swingGuiContext)
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 org.pentaho.reporting.libraries.base.util.ResourceBundleSupport
getResources()
Returns the resourcebundle to be used to translate strings into localized content.String
getShortDescription()
Returns the short description for the export action.Icon
getSmallIcon()
Returns the small icon for the export action.boolean
initialize(SwingGuiContext context)
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.AbstractActionPlugin
addPropertyChangeListener, addPropertyChangeListener, createProgressDialog, getBaseResources, getConfig, getContext, getIconTheme, getMenuOrder, getPropertyChangeSupport, getRole, getRolePreference, getToolbarOrder, isAddToMenu, isAddToToolbar, isEnabled, isSeparated, removePropertyChangeListener, setEnabled
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.ActionPlugin
addPropertyChangeListener, addPropertyChangeListener, getMenuOrder, getRole, getRolePreference, getToolbarOrder, isAddToMenu, isAddToToolbar, isEnabled, isSeparated, removePropertyChangeListener
-
-
-
-
Method Detail
-
initialize
public boolean initialize(SwingGuiContext context)
- Specified by:
initialize
in interfaceActionPlugin
- Overrides:
initialize
in classAbstractActionPlugin
-
deinitialize
public void deinitialize(SwingGuiContext swingGuiContext)
- Specified by:
deinitialize
in interfaceActionPlugin
- Overrides:
deinitialize
in classAbstractActionPlugin
-
getDisplayName
public String getDisplayName()
Returns the display name for the export action.- Specified by:
getDisplayName
in interfaceActionPlugin
- Returns:
- The display name.
-
getShortDescription
public String getShortDescription()
Returns the short description for the export action.- Specified by:
getShortDescription
in interfaceActionPlugin
- Returns:
- The short description.
-
getSmallIcon
public Icon getSmallIcon()
Returns the small icon for the export action.- Specified by:
getSmallIcon
in interfaceActionPlugin
- Returns:
- The icon.
-
getLargeIcon
public Icon getLargeIcon()
Returns the large icon for the export action.- Specified by:
getLargeIcon
in interfaceActionPlugin
- Returns:
- The icon.
-
getAcceleratorKey
public KeyStroke getAcceleratorKey()
Returns the accelerator key for the export action.- Specified by:
getAcceleratorKey
in interfaceActionPlugin
- Returns:
- The accelerator key.
-
getMnemonicKey
public Integer getMnemonicKey()
Returns the mnemonic key code.- Specified by:
getMnemonicKey
in interfaceActionPlugin
- Returns:
- The code.
-
getResources
protected org.pentaho.reporting.libraries.base.util.ResourceBundleSupport getResources()
Returns the resourcebundle to be used to translate strings into localized content.- Returns:
- the resourcebundle for the localisation.
-
getConfigurationPrefix
protected String getConfigurationPrefix()
- Specified by:
getConfigurationPrefix
in classAbstractActionPlugin
-
configure
public boolean configure(PreviewPane pane)
- Specified by:
configure
in interfaceControlActionPlugin
-
-