Save This Page
Home » pentaho-reporting-engine-classic-0.8.10 » org.jfree.report.modules.gui » base » [javadoc | source]
org.jfree.report.modules.gui.base
public class: ExportAction [javadoc | source]
java.lang.Object
   javax.swing.AbstractAction
      org.jfree.report.modules.gui.base.ExportAction

All Implemented Interfaces:
    ActionDowngrade, Runnable, Action, Serializable, Cloneable

An export action that works with any class that implements the org.jfree.report.modules.gui.base.ExportPlugin interface.
Constructor:
 public ExportAction(ExportPlugin plugin) 
    Defines an Action object with a default description string and default icon.
    Parameters:
    plugin - the export plug-in.
Method from org.jfree.report.modules.gui.base.ExportAction Summary:
actionPerformed,   getReport,   run,   setReport
Methods from javax.swing.AbstractAction:
addPropertyChangeListener,   getKeys,   getPropertyChangeListeners,   getValue,   isEnabled,   putValue,   removePropertyChangeListener,   setEnabled
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.report.modules.gui.base.ExportAction Detail:
 public  void actionPerformed(ActionEvent e) 
    Exports the current report using the installed export plug-in.
 public JFreeReport getReport() 
    Returns the report.
 public  void run() 
    When an object implementing interface Runnable is used to create a thread, starting the thread causes the object's run method to be called in that separately executing thread.

    The general contract of the method run is that it may take any action whatsoever.

 public  void setReport(JFreeReport report) 
    Sets the report.