Class MReporterPanel

All Implemented Interfaces:
IRememberPreferences, IRunnablePanel, ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible

public class MReporterPanel extends JPanel implements IRunnablePanel, PropertyChangeListener, IRememberPreferences
Provided by the broldev.file.mediareporter.swing project.
Since:
1.0 (Apr 1, 2011), broldev.file.mediareporter.swing 0.0.1-SNAPSHOT dependency
Version:
1.0 (Apr 1, 2011)
Author:
Steph GAUDRY
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • MReporterPanel

      public MReporterPanel()
    • MReporterPanel

      public MReporterPanel(BuildMReportAction _searchAction)
  • Method Details

    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      Throwable
    • loadPreferences

      public void loadPreferences()
      Specified by:
      loadPreferences in interface IRememberPreferences
    • savePreferences

      public void savePreferences()
      Specified by:
      savePreferences in interface IRememberPreferences
    • propertyChange

      public void propertyChange(PropertyChangeEvent evt)
      Specified by:
      propertyChange in interface PropertyChangeListener
    • showCard

      public void showCard(MReporterPanel.Card card)
    • printButtonActionPerformed

      void printButtonActionPerformed(ActionEvent evt)
    • getSaveSearchResultsAction

      public AbstractAction getSaveSearchResultsAction()
      Returns:
      the saveSearchResultsAction
    • getSearchAction

      public AbstractAction getSearchAction()
      Returns:
      the buildMReportAction
    • setStartPath

      public void setStartPath(String startPath)
    • addSpecialResultsFeaturesMenu

      public void addSpecialResultsFeaturesMenu(JMenu menu)
      Adds some features to the results table default menu.
      If a special menu is already defined, all the MenuComponents will be added to the existing menu.

      This method may be called by any plug-in. The menuItem action may retrieve the results by calling the getResults() method.
      Parameters:
      menu - JMenu containing the new features
      Since:
      1.0.1-SNAPSHOT (Feb 8 2009)
    • getResults

      public List<File> getResults()
      Returns:
      the results files.
      Since:
      1.0.1-SNAPSHOT (Feb 8 2009)
    • testColors

      public void testColors()
    • startProcess

      public void startProcess(boolean forceStart)
      Description copied from interface: IRunnablePanel
      Starts the process
      Specified by:
      startProcess in interface IRunnablePanel
      Parameters:
      forceStart -
      • true for canceling previous execution of the process and starting a new execution with new parameters.
      • false for starting only if not yet started
    • stopProcess

      public void stopProcess()
      Description copied from interface: IRunnablePanel
      Stops the process if exists
      Specified by:
      stopProcess in interface IRunnablePanel
    • toggleStartStopProcess

      public void toggleStartStopProcess()
      Description copied from interface: IRunnablePanel
      Starts the process (like startProcess(false)) if not started, or stops the process if started
      Specified by:
      toggleStartStopProcess in interface IRunnablePanel
    • main

      public static void main(String[] args)
      Auto-generated main method to display this JPanel inside a new JFrame.