org.jfree.report.modules.gui.swing.common
Interface ActionPlugin

All Known Subinterfaces:
ControlActionPlugin, ExportActionPlugin
All Known Implementing Classes:
AboutActionPlugin, AbstractActionPlugin, AbstractExportActionPlugin, ExitActionPlugin, GoToActionPlugin, GoToFirstPageActionPlugin, GoToLastPageActionPlugin, GoToNextPageActionPlugin, GoToPreviousPageActionPlugin, PrintActionPlugin, ZoomCustomActionPlugin, ZoomInActionPlugin, ZoomOutActionPlugin

public interface ActionPlugin

Creation-Date: 16.11.2006, 15:47:02

Author:
Thomas Morgner

Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener l)
           
 void addPropertyChangeListener(java.lang.String property, java.beans.PropertyChangeListener l)
           
 javax.swing.KeyStroke getAcceleratorKey()
          Returns the accelerator key for the export action.
 java.lang.String getDisplayName()
          Returns the display name for the export action.
 javax.swing.Icon getLargeIcon()
          Returns the large icon for the export action.
 int getMenuOrder()
          A sort key used to enforce a certain order within the actions.
 java.lang.Integer getMnemonicKey()
          Returns the mnemonic key code.
 java.lang.String getRole()
           
 int getRolePreference()
           
 java.lang.String getShortDescription()
          Returns the short description for the export action.
 javax.swing.Icon getSmallIcon()
          Returns the small icon for the export action.
 int getToolbarOrder()
           
 boolean initialize(SwingGuiContext context)
           
 boolean isAddToMenu()
          Returns true if the action should be added to the menu, and false otherwise.
 boolean isAddToToolbar()
          Returns true if the action should be added to the toolbar, and false otherwise.
 boolean isSeparated()
          Returns true if the action is separated, and false otherwise.
 void removePropertyChangeListener(java.beans.PropertyChangeListener l)
           
 

Method Detail

getDisplayName

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

Returns:
The display name.

getShortDescription

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

Returns:
The short description.

getSmallIcon

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

Returns:
The icon.

getLargeIcon

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

Returns:
The icon.

getAcceleratorKey

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

Returns:
The accelerator key.

getMnemonicKey

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

Returns:
The code.

isSeparated

public boolean isSeparated()
Returns true if the action is separated, and false otherwise.

Returns:
A boolean.

isAddToToolbar

public boolean isAddToToolbar()
Returns true if the action should be added to the toolbar, and false otherwise.

Returns:
A boolean.

isAddToMenu

public boolean isAddToMenu()
Returns true if the action should be added to the menu, and false otherwise.

Returns:
A boolean.

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener l)

addPropertyChangeListener

public void addPropertyChangeListener(java.lang.String property,
                                      java.beans.PropertyChangeListener l)

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener l)

getMenuOrder

public int getMenuOrder()
A sort key used to enforce a certain order within the actions.

Returns:

getToolbarOrder

public int getToolbarOrder()

getRole

public java.lang.String getRole()

getRolePreference

public int getRolePreference()

initialize

public boolean initialize(SwingGuiContext context)