Package org.gnome.gtk
Enum Class EditableProperties
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<EditableProperties>
,Constable
@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 ConstantDescriptionthe number of propertiesthe property id forGtk.Editable:cursor-position
the property id forGtk.Editable:editable
the property id forGtk.Editable:enable-undo
the property id forGtk.Editable:max-width-chars
the property id forGtk.Editable:selection-bound
the property id forGtk.Editable:text
the property id forGtk.Editable:width-chars
the property id forGtk.Editable:xalign
-
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the EditableProperties classint
getValue()
Get the numeric value of this enumstatic EditableProperties
of
(int value) Create a new EditableProperties for the provided valuestatic EditableProperties
Returns 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:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-
getType
-