Package org.gnome.gtk
Enum Class EditableProperties
- All Implemented Interfaces:
Serializable,Comparable<EditableProperties>,Constable,Enumeration
@Generated("io.github.jwharm.JavaGI")
public enum EditableProperties
extends Enum<EditableProperties>
implements Enumeration
The identifiers for
Editable properties.
See Editable.installProperties(org.gnome.gobject.GObject.ObjectClass, int) for details on how to
implement the GtkEditable interface.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionthe number of propertiesthe property id forGtk.Editable:cursor-positionthe property id forGtk.Editable:editablethe property id forGtk.Editable:enable-undothe property id forGtk.Editable:max-width-charsthe property id forGtk.Editable:selection-boundthe property id forGtk.Editable:textthe property id forGtk.Editable:width-charsthe property id forGtk.Editable:xalign -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable TypegetType()Get the GType of the EditableProperties classintgetValue()Get the numeric value of this enumstatic EditablePropertiesof(int value) Create a new EditableProperties for the provided valuestatic EditablePropertiesof(MemorySegment address) Create a new EditableProperties for the value in the provided memory address.static EditablePropertiesReturns the enum constant of this class with the specified name.static EditableProperties[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PROP_TEXT
the property id forGtk.Editable:text -
PROP_CURSOR_POSITION
the property id forGtk.Editable:cursor-position -
PROP_SELECTION_BOUND
the property id forGtk.Editable:selection-bound -
PROP_EDITABLE
the property id forGtk.Editable:editable -
PROP_WIDTH_CHARS
the property id forGtk.Editable:width-chars -
PROP_MAX_WIDTH_CHARS
the property id forGtk.Editable:max-width-chars -
PROP_XALIGN
the property id forGtk.Editable:xalign -
PROP_ENABLE_UNDO
the property id forGtk.Editable:enable-undo -
NUM_PROPERTIES
the number of properties
-
-
Method Details
-
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
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
-
of
Create a new EditableProperties for the provided value- Parameters:
value- the enum value- Returns:
- the enum for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValuein interfaceEnumeration- Returns:
- the enum value
-
of
Create a new EditableProperties 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
Get the GType of the EditableProperties class- Returns:
- the GType
-