Enum Class FileDialogMode

java.lang.Object
java.lang.Enum<FileDialogMode>
com.dua3.utility.fx.controls.FileDialogMode
All Implemented Interfaces:
Serializable, Comparable<FileDialogMode>, Constable

public enum FileDialogMode extends Enum<FileDialogMode>
Enumeration representing the different modes of a file dialog.
  • Enum Constant Details

    • OPEN

      public static final FileDialogMode OPEN
      Represents the mode of a file dialog where the user can open an existing file.
    • SAVE

      public static final FileDialogMode SAVE
      Mode of the file dialog that allows the user to save a file.
    • DIRECTORY

      public static final FileDialogMode DIRECTORY
      Mode representing directory selection in a file dialog.
  • Method Details

    • values

      public static FileDialogMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FileDialogMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null