Class JDialogFilterChoice

All Implemented Interfaces:
DialogDefaultsInterface, ActionListener, FocusListener, ItemListener, WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class JDialogFilterChoice extends JDialogBase
Simple dialog to choose the filter for the view image directory.
Version:
1.0 June 1, 2002
Author:
Neva Cherniavsky
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Use serialVersionUID for interoperability.
      See Also:
    • checkImages

      private JCheckBox[] checkImages
      DOCUMENT ME!
    • imageFilter

      private ViewImageFileFilter imageFilter
      DOCUMENT ME!
    • fileTypeDescriptions

      private String[] fileTypeDescriptions
    • fileTypeInts

      private int[] fileTypeInts
    • fileTypeExtensions

      private String[] fileTypeExtensions
    • allFiles

      private JCheckBox allFiles
    • noExt

      private JCheckBox noExt
  • Constructor Details

    • JDialogFilterChoice

      public JDialogFilterChoice(Frame parent)
      Initializes the dialog.
      Parameters:
      parent - PArent frame of dialog.
  • Method Details

    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Sets the appropriate file filter when the "OK" button is pressed; otherwise disposes of the dialog.
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class JDialogBase
      Parameters:
      e - Event that triggered this function.
    • getFilter

      public ViewImageFileFilter getFilter()
      Accessor that gets the file filter.
      Returns:
      The file filter.
    • init

      private void init()
      Initializes the dialog and adds the GUI components.