Enum Class EditableProperties

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

@Generated("org.javagi.JavaGI") public enum EditableProperties extends Enum<EditableProperties> implements Enumeration

The identifiers for Editable properties.

See Editable.installProperties(GObject.ObjectClass, int) for details on how to implement the GtkEditable interface.

  • Enum Constant Details

    • PROP_TEXT

      public static final EditableProperties PROP_TEXT
      the property id for Gtk.Editable:text
    • PROP_CURSOR_POSITION

      public static final EditableProperties PROP_CURSOR_POSITION
      the property id for Gtk.Editable:cursor-position
    • PROP_SELECTION_BOUND

      public static final EditableProperties PROP_SELECTION_BOUND
      the property id for Gtk.Editable:selection-bound
    • PROP_EDITABLE

      public static final EditableProperties PROP_EDITABLE
      the property id for Gtk.Editable:editable
    • PROP_WIDTH_CHARS

      public static final EditableProperties PROP_WIDTH_CHARS
      the property id for Gtk.Editable:width-chars
    • PROP_MAX_WIDTH_CHARS

      public static final EditableProperties PROP_MAX_WIDTH_CHARS
      the property id for Gtk.Editable:max-width-chars
    • PROP_XALIGN

      public static final EditableProperties PROP_XALIGN
      the property id for Gtk.Editable:xalign
    • PROP_ENABLE_UNDO

      public static final EditableProperties PROP_ENABLE_UNDO
      the property id for Gtk.Editable:enable-undo
    • NUM_PROPERTIES

      public static final EditableProperties NUM_PROPERTIES
      the number of properties
  • Method Details

    • values

      public static EditableProperties[] 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 EditableProperties 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
    • of

      public static EditableProperties of(int value)
      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:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static EditableProperties of(MemorySegment address)
      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

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