All Known Implementing Classes:
DirectoryURIChooser, FileURIChooser

public interface URIChooser
URIChooser provides a mechanism for the user to choose an URI.
Author:
Werner Randelshofer
  • Method Details

    • showDialog

      @Nullable URI showDialog(@Nullable javafx.stage.Window parent)
      Pops up an URI chooser dialog.
      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.
    • showDialog

      default @Nullable URI showDialog(@Nullable javafx.scene.Node node)
      Pops up an URI chooser dialog.
      Parameters:
      node - the parent component of the dialog, can be null ; see showDialog for details
      Returns:
      the selected URIs or an empty list if no selection has been made.
    • getDataFormat

      default @Nullable javafx.scene.input.DataFormat getDataFormat()
      Gets the data format that the user selected.
      Returns:
      data format, or null if the user did not explicitly select a format