Enum Class TreeModelFlags

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

@Generated("org.javagi.JavaGI") @Deprecated public enum TreeModelFlags extends Enum<TreeModelFlags> implements Enumeration
Deprecated.
There is no replacement

These flags indicate various properties of a GtkTreeModel.

They are returned by TreeModel.getFlags(), and must be static for the lifetime of the object. A more complete description of ITERS_PERSIST can be found in the overview of this section.

  • Enum Constant Details

    • ITERS_PERSIST

      public static final TreeModelFlags ITERS_PERSIST
      Deprecated.
      iterators survive all signals emitted by the tree
    • LIST_ONLY

      public static final TreeModelFlags LIST_ONLY
      Deprecated.
      the model is a list only, and never has children
  • Method Details

    • values

      public static TreeModelFlags[] 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 TreeModelFlags 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
    • 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 Set<TreeModelFlags> of(int flags)
      Deprecated.
      Create a new EnumSet<TreeModelFlags> for the provided bitfield
      Parameters:
      flags - the TreeModelFlags bitfield
      Returns:
      the EnumSet for the provided bitfield
    • of

      public static Set<TreeModelFlags> of(MemorySegment address)
      Deprecated.
      Create a new EnumSet<TreeModelFlags> for the bitfield in the provided memory address.
      Parameters:
      address - the memory address holding a bitfield value
      Returns:
      the EnumSet for the bitfield in the provided memory address
    • getType

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