Interface ActionPlugin
- All Known Subinterfaces:
ControlActionPlugin
,ExportActionPlugin
- All Known Implementing Classes:
AboutActionPlugin
,AbstractActionPlugin
,AbstractExportActionPlugin
,ExitActionPlugin
,GoToActionPlugin
,GoToFirstPageActionPlugin
,GoToLastPageActionPlugin
,GoToNextPageActionPlugin
,GoToPreviousPageActionPlugin
,HtmlFileExportActionPlugin
,HtmlZipExportActionPlugin
,PdfExportActionPlugin
,PrintActionPlugin
,ZoomCustomActionPlugin
,ZoomInActionPlugin
,ZoomListActionPlugin
,ZoomOutActionPlugin
public interface ActionPlugin
Creation-Date: 16.11.2006, 15:47:02
- Author:
- Thomas Morgner
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addPropertyChangeListener
(String property, PropertyChangeListener l) Returns the accelerator key for the export action.Returns the display name for the export action.Returns the large icon for the export action.int
A sort key used to enforce a certain order within the actions.Returns the mnemonic key code.getRole()
int
Returns the short description for the export action.Returns the small icon for the export action.int
boolean
initialize
(SwingGuiContext context) boolean
Returns true if the action should be added to the menu, and false otherwise.boolean
Returns true if the action should be added to the toolbar, and false otherwise.boolean
Returns true if the action is separated, and false otherwise.void
-
Method Details
-
getDisplayName
String getDisplayName()Returns the display name for the export action.- Returns:
- The display name.
-
getShortDescription
String getShortDescription()Returns the short description for the export action.- Returns:
- The short description.
-
getSmallIcon
Icon getSmallIcon()Returns the small icon for the export action.- Returns:
- The icon.
-
getLargeIcon
Icon getLargeIcon()Returns the large icon for the export action.- Returns:
- The icon.
-
getAcceleratorKey
KeyStroke getAcceleratorKey()Returns the accelerator key for the export action.- Returns:
- The accelerator key.
-
getMnemonicKey
Integer getMnemonicKey()Returns the mnemonic key code.- Returns:
- The code.
-
isSeparated
boolean isSeparated()Returns true if the action is separated, and false otherwise.- Returns:
- A boolean.
-
isAddToToolbar
boolean isAddToToolbar()Returns true if the action should be added to the toolbar, and false otherwise.- Returns:
- A boolean.
-
isAddToMenu
boolean isAddToMenu()Returns true if the action should be added to the menu, and false otherwise.- Returns:
- A boolean.
-
addPropertyChangeListener
-
addPropertyChangeListener
-
removePropertyChangeListener
-
getMenuOrder
int getMenuOrder()A sort key used to enforce a certain order within the actions.- Returns:
-
getToolbarOrder
int getToolbarOrder() -
getRole
String getRole() -
getRolePreference
int getRolePreference() -
initialize
-