Package org.gnome.gtk
Enum Class TreeModelFlags
- All Implemented Interfaces:
Serializable,Comparable<TreeModelFlags>,Constable,Enumeration
@Generated("io.github.jwharm.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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.iterators survive all signals emitted by the treeDeprecated.the model is a list only, and never has children -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable TypegetType()Deprecated.Get the GType of the TreeModelFlags classintgetValue()Deprecated.Get the numeric value of this enumstatic Set<TreeModelFlags> of(int flags) Deprecated.Create a newEnumSet<TreeModelFlags>for the provided bitfieldstatic Set<TreeModelFlags> of(MemorySegment address) Deprecated.Create a newEnumSet<TreeModelFlags>for the bitfield in the provided memory address.static TreeModelFlagsDeprecated.Returns the enum constant of this class with the specified name.static TreeModelFlags[]values()Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ITERS_PERSIST
Deprecated.iterators survive all signals emitted by the tree -
LIST_ONLY
Deprecated.the model is a list only, and never has children
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getValue
public int getValue()Deprecated.Get the numeric value of this enum- Specified by:
getValuein interfaceEnumeration- Returns:
- the enum value
-
of
Deprecated.Create a newEnumSet<TreeModelFlags>for the provided bitfield- Parameters:
flags- the TreeModelFlags bitfield- Returns:
- the EnumSet for the provided bitfield
-
of
Deprecated.Create a newEnumSet<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
Deprecated.Get the GType of the TreeModelFlags class- Returns:
- the GType
-