Enum Class FileChooserError

java.lang.Object
java.lang.Enum<FileChooserError>
org.gnome.gtk.FileChooserError
All Implemented Interfaces:
Serializable, Comparable<FileChooserError>, Constable, Enumeration

@Generated("org.javagi.JavaGI") @Deprecated public enum FileChooserError extends Enum<FileChooserError> implements Enumeration
Deprecated.
There is no replacement
These identify the various errors that can occur while calling GtkFileChooser functions.
  • Enum Constant Details

    • NONEXISTENT

      public static final FileChooserError NONEXISTENT
      Deprecated.
      Indicates that a file does not exist.
    • BAD_FILENAME

      public static final FileChooserError BAD_FILENAME
      Deprecated.
      Indicates a malformed filename.
    • ALREADY_EXISTS

      public static final FileChooserError ALREADY_EXISTS
      Deprecated.
      Indicates a duplicate path (e.g. when adding a bookmark).
    • INCOMPLETE_HOSTNAME

      public static final FileChooserError INCOMPLETE_HOSTNAME
      Deprecated.
      Indicates an incomplete hostname (e.g. "http://foo" without a slash after that).
  • Method Details

    • values

      public static FileChooserError[] values()
      Deprecated.
      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 FileChooserError valueOf(String name)
      Deprecated.
      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
    • of

      public static FileChooserError of(int value)
      Deprecated.
      Create a new FileChooserError for the provided value
      Parameters:
      value - the enum value
      Returns:
      the enum for the provided value
    • getValue

      public int getValue()
      Deprecated.
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static FileChooserError of(MemorySegment address)
      Deprecated.
      Create a new FileChooserError for the value in the provided memory address.
      Parameters:
      address - the memory address holding a enum value
      Returns:
      the enum for the value in the provided memory address
    • getType

      public static @Nullable Type getType()
      Deprecated.
      Get the GType of the FileChooserError class.
      Returns:
      the GType
    • quark

      public static Quark quark()
      Deprecated.
      Registers an error quark for GtkFileChooser errors.
      Returns:
      The error quark used for GtkFileChooser errors.