java.lang.Object
org.jhotdraw8.application.controls.urichooser.FileURIChooser
All Implemented Interfaces:
URIChooser

public class FileURIChooser extends Object implements URIChooser
FileURIChooser.
Author:
Werner Randelshofer
  • Constructor Details

  • Method Details

    • setMode

      public void setMode(FileURIChooser.Mode newValue)
    • getMode

      public FileURIChooser.Mode getMode()
    • getFileChooser

      public @NonNull javafx.stage.FileChooser getFileChooser()
    • showDialog

      public @Nullable URI showDialog(javafx.stage.Window parent)
      Description copied from interface: URIChooser
      Pops up an URI chooser dialog.
      Specified by:
      showDialog in interface URIChooser
      Parameters:
      parent - the parent component of the dialog, can be null ; see showDialog for details
      Returns:
      the selected URIs if a selection has been made.
    • setExtensionFilters

      public void setExtensionFilters(List<URIExtensionFilter> filters)
    • getDataFormat

      public @Nullable javafx.scene.input.DataFormat getDataFormat()
      Description copied from interface: URIChooser
      Gets the data format that the user selected.
      Specified by:
      getDataFormat in interface URIChooser
      Returns:
      data format, or null if the user did not explicitly select a format