Class PollingFileChooser

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, IdvConstants

public class PollingFileChooser extends FileChooser
A class for choosing files that can be polled.
Author:
IDV development team
See Also:
  • Field Details

  • Constructor Details

    • PollingFileChooser

      public PollingFileChooser(IdvChooserManager mgr, Element root)
      Create the PollingFileChooser, passing in the manager and the xml element from choosers.xml
      Parameters:
      mgr - The manager
      root - The xml root
  • Method Details

    • getUpdateToolTip

      protected String getUpdateToolTip()
      Get the tooltip for the update button
      Overrides:
      getUpdateToolTip in class FileChooser
      Returns:
      The tooltip for the update button
    • doMakeContents

      protected JComponent doMakeContents()
      Make the UI for this chooser
      Overrides:
      doMakeContents in class FileChooser
      Returns:
      the UI component
    • doLoadInThread

      public void doLoadInThread()
      Override the base class method to catch the do load
      Overrides:
      doLoadInThread in class FileChooser
    • doUpdate

      public void doUpdate()
      Override the base class method to catch the do update
      Overrides:
      doUpdate in class FileChooser
    • canDoUpdate

      public boolean canDoUpdate()
      _more_
      Overrides:
      canDoUpdate in class ChooserPanel
      Returns:
      _more_
    • getLoadCommandName

      protected String getLoadCommandName()
      This allows for derived classes to define their own name for the "Add source" button.
      Overrides:
      getLoadCommandName in class ChooserPanel
      Returns:
      custom name