Package org.gnome.gobject
Enum Class ParamFlags
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<ParamFlags>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum ParamFlags
extends Enum<ParamFlags>
implements Enumeration
Through the
GParamFlags
flag values, certain aspects of parameters
can be configured.
See also: G_PARAM_STATIC_STRINGS
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionthe parameter will be set upon object constructionthe parameter can only be set upon object constructionthe parameter is deprecated and will be removed in a future version.calls to g_object_set_property() for this property will not automatically result in a "notify" signal being emitted: the implementation must call g_object_notify() themselves in case the property actually changes.upon parameter conversion (see g_param_value_convert()) strict validation is not requiredthe parameter is readablethe string used as blurb when constructing the parameter is guaranteed to remain valid and unmodified for the lifetime of the parameter.the string used as name when constructing the parameter is guaranteed to remain valid and unmodified for the lifetime of the parameter.the string used as nick when constructing the parameter is guaranteed to remain valid and unmmodified for the lifetime of the parameter.the parameter is writable -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
Get the numeric value of this enumstatic ParamFlags
of
(int value) Create a new ParamFlags for the provided valuestatic ParamFlags
Returns the enum constant of this class with the specified name.static ParamFlags[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READABLE
the parameter is readable -
WRITABLE
the parameter is writable -
READWRITE
-
CONSTRUCT
the parameter will be set upon object construction -
CONSTRUCT_ONLY
the parameter can only be set upon object construction -
LAX_VALIDATION
upon parameter conversion (see g_param_value_convert()) strict validation is not required -
STATIC_NAME
the string used as name when constructing the parameter is guaranteed to remain valid and unmodified for the lifetime of the parameter. Since 2.8 -
STATIC_NICK
the string used as nick when constructing the parameter is guaranteed to remain valid and unmmodified for the lifetime of the parameter. Since 2.8 -
STATIC_BLURB
the string used as blurb when constructing the parameter is guaranteed to remain valid and unmodified for the lifetime of the parameter. Since 2.8 -
EXPLICIT_NOTIFY
calls to g_object_set_property() for this property will not automatically result in a "notify" signal being emitted: the implementation must call g_object_notify() themselves in case the property actually changes. Since: 2.42. -
DEPRECATED
the parameter is deprecated and will be removed in a future version. A warning will be generated if it is used while running with G_ENABLE_DIAGNOSTIC=1. Since 2.26
-
-
Field Details
-
PRIVATE
internal
-
-
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 ParamFlags for the provided value- Parameters:
value
- the bitfield value- Returns:
- the bitfield for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-