Class FinderActionsFactory

java.lang.Object
be.gaudry.swing.file.finder.action.FinderActionsFactory
All Implemented Interfaces:
PropertyChangeListener, EventListener

public class FinderActionsFactory extends Object implements PropertyChangeListener
\n Provided by the broldev.file.finder.swing project.
Since:
1.0 (Sep 3 2008), broldev.file.finder.swing 0.0.1-SNAPSHOT dependency
Version:
1.2 (Mar 30, 2009)
Author:
Steph GAUDRY
  • Field Details

  • Method Details

    • finalize

      protected void finalize() throws Throwable
      Unregisters from the observed LanguageHelper.
      Overrides:
      finalize in class Object
      Throws:
      Throwable
      See Also:
      Object.finalize()
    • addSpecialResultsFeaturesMenu

      public static void addSpecialResultsFeaturesMenu(JMenu menu)
      Parameters:
      menu - JMenu containing the new features
      Since:
      1.1 (Feb 8 2009)
      See Also:
      SearchMediaPanel.addSpecialResultsFeaturesMenu(JMenu)
    • getResults

      public static List<File> getResults()
      If the searchMediaPanel is created, returns the list of results files. Otherwise returns null, and the @link #showPanel(String) method may be called.
      Returns:
      the results files, or null if the searchMediaPanel is not yet created.
      Since:
      1.1 (Feb 8 2009)
      See Also:
      SearchMediaPanel.getResults()
    • getWindowAdapter

      public static WindowAdapter getWindowAdapter()
    • getShowColorsAction

      public static AbstractAction getShowColorsAction()
      The SearchMediaPanel shows the search results into a table with a files renderer. This action shows an example of the possible files rendering into the results table.
      Returns:
      an action to show the colors
    • setResultsActionsState

      public static void setResultsActionsState()
    • getSaveResultsAction

      public static AbstractAction getSaveResultsAction()
      Returns:
      an action to save the search results
    • getPrintResultsAction

      public static AbstractAction getPrintResultsAction()
      Returns:
      an action to print the search results
    • getCleanResultsAction

      public static AbstractAction getCleanResultsAction()
      Returns:
      an action to clean the results
    • getShowSearchMediaPanelAction

      public static AbstractShowPanelAction<SearchMediaPanel> getShowSearchMediaPanelAction()
      Returns:
      an action to show the main panel
      See Also:
      AbstractShowPanelAction
    • getSearchAction

      public static SearchAction getSearchAction()
    • propertyChange

      public void propertyChange(PropertyChangeEvent evt)
      Localize this instance when the observed LanguageHelper is changed.
      Specified by:
      propertyChange in interface PropertyChangeListener
      Since:
      1.2 (Mar 30, 2009)