Class ProductFileChooser

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ProductFileChooser extends SnapFileChooser
See Also:
  • Constructor Details

    • ProductFileChooser

      public ProductFileChooser(File currentDirectory)
  • Method Details

    • setProductToExport

      public void setProductToExport(Product product)
    • getSubsetProduct

      public Product getSubsetProduct()
      File chooser only returns a product, if a product with advanced options was created.
      Returns:
      the product with advanced options or null
    • isSubsetEnabled

      public boolean isSubsetEnabled()
    • setSubsetEnabled

      public void setSubsetEnabled(boolean useSubset)
    • isAdvancedEnabled

      public boolean isAdvancedEnabled()
    • setAdvancedEnabled

      public void setAdvancedEnabled(boolean useAdvanced)
    • showDialog

      public int showDialog(Component parent, String approveButtonText)
      Overrides:
      showDialog in class JFileChooser
    • getProductSubsetDef

      public ProductSubsetDef getProductSubsetDef()
    • getProductReaderPlugin

      public ProductReaderPlugIn getProductReaderPlugin()
    • convertInputToPath

      public static Path convertInputToPath(Object input)