Class CoverageChooser

All Implemented Interfaces:
ActionListener, EventListener

public class CoverageChooser extends Object implements ActionListener
This class is a JFileChooser that has been customized to allow selection of shapefiles and coverages.
  • Field Details

  • Constructor Details

    • CoverageChooser

      public CoverageChooser(int types)
  • Method Details

    • setTypes

      public void setTypes(int types)
    • getPreviousDirectory

      public File getPreviousDirectory()
    • decodeFile

      public static File decodeFile(File f)
    • getCurrentDirectory

      public File getCurrentDirectory()
    • getSelectedFile

      public File getSelectedFile()
    • showOpenDialog

      public int showOpenDialog(Component parent)
    • setDialogTitle

      public void setDialogTitle(String title)
    • setSelectedFile

      public void setSelectedFile(File f)
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • isCoverage

      public static boolean isCoverage(File f)
    • isGrid

      public static boolean isGrid(File f)
    • isInfo

      public static boolean isInfo(File f)
    • isShape

      public static boolean isShape(File f)
    • isEcw

      public static boolean isEcw(File f)
    • isSid

      public static boolean isSid(File f)
    • isDBF

      public static boolean isDBF(File f)
    • isCSV

      public static boolean isCSV(File f)