Package ch.bailu.gtk.gobject
Klasse ParamSpecTypeInfo
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gobject.ParamSpecTypeInfo
- Alle implementierten Schnittstellen:
PointerInterface
This structure is used to provide the type system with the information
required to initialize and destruct (finalize) a parameter's class and
instances thereof.
The initialized structure is passed to the g_param_type_register_static()
The type system will perform a deep copy of this structure, so its memory
does not need to be persistent across invocation of
g_param_type_register_static().
required to initialize and destruct (finalize) a parameter's class and
instances thereof.
The initialized structure is passed to the g_param_type_register_static()
The type system will perform a deep copy of this structure, so its memory
does not need to be persistent across invocation of
g_param_type_register_static().
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interface
static interface
static interface
static interface
static interface
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final String
The instance finalization function (optional).static final String
Location of the instance initialization function (optional).static final String
Size of the instance (object) structure.static final String
Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching).static final String
Resets a @value to the default value for @pspec
(recommended, the default is g_value_reset()), see
g_param_value_set_default().static final String
The #GType of values conforming to this #GParamSpecstatic final String
Ensures that the contents of @value comply with the
specifications set out by @pspec (optional), see
g_param_value_validate().static final String
Compares @value1 with @value2 according to @pspec
(recommended, the default is memcmp()), see g_param_values_cmp(). -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandler
ch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnFinalize
The instance finalization function (optional).ch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnInstanceInit
Location of the instance initialization function (optional).int
Size of the instance (object) structure.int
Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching).ch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnValuesCmp
Compares @value1 with @value2 according to @pspec
(recommended, the default is memcmp()), see g_param_values_cmp().ch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnValueSetDefault
Resets a @value to the default value for @pspec
(recommended, the default is g_value_reset()), see
g_param_value_set_default().long
The #GType of values conforming to this #GParamSpecch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnValueValidate
Ensures that the contents of @value comply with the
specifications set out by @pspec (optional), see
g_param_value_validate().void
setFieldFinalize
(ParamSpecTypeInfo.OnFinalize finalize) The instance finalization function (optional).void
setFieldInstanceInit
(ParamSpecTypeInfo.OnInstanceInit instance_init) Location of the instance initialization function (optional).void
setFieldInstanceSize
(int instance_size) Size of the instance (object) structure.void
setFieldNPreallocs
(int n_preallocs) Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching).void
setFieldValuesCmp
(ParamSpecTypeInfo.OnValuesCmp values_cmp) Compares @value1 with @value2 according to @pspec
(recommended, the default is memcmp()), see g_param_values_cmp().void
setFieldValueSetDefault
(ParamSpecTypeInfo.OnValueSetDefault value_set_default) Resets a @value to the default value for @pspec
(recommended, the default is g_value_reset()), see
g_param_value_set_default().void
setFieldValueType
(long value_type) The #GType of values conforming to this #GParamSpecvoid
setFieldValueValidate
(ParamSpecTypeInfo.OnValueValidate value_validate) Ensures that the contents of @value comply with the
specifications set out by @pspec (optional), see
g_param_value_validate().Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
INSTANCE_SIZE
Size of the instance (object) structure.- Siehe auch:
-
N_PREALLOCS
Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching). Since GLib 2.10, it is ignored, since instances are allocated with the [slice allocator][glib-Memory-Slices] now.- Siehe auch:
-
INSTANCE_INIT
Location of the instance initialization function (optional).
SeeParamSpecTypeInfo.OnInstanceInit.onInstanceInit(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.ParamSpec)
- Siehe auch:
-
VALUE_TYPE
The #GType of values conforming to this #GParamSpec- Siehe auch:
-
FINALIZE
The instance finalization function (optional).
SeeParamSpecTypeInfo.OnFinalize.onFinalize(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.ParamSpec)
- Siehe auch:
-
VALUE_SET_DEFAULT
Resets a @value to the default value for @pspec
(recommended, the default is g_value_reset()), see
g_param_value_set_default().
SeeParamSpecTypeInfo.OnValueSetDefault.onValueSetDefault(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.ParamSpec, ch.bailu.gtk.gobject.Value)
- Siehe auch:
-
VALUE_VALIDATE
Ensures that the contents of @value comply with the
specifications set out by @pspec (optional), see
g_param_value_validate().
SeeParamSpecTypeInfo.OnValueValidate.onValueValidate(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.ParamSpec, ch.bailu.gtk.gobject.Value)
- Siehe auch:
-
VALUES_CMP
Compares @value1 with @value2 according to @pspec
(recommended, the default is memcmp()), see g_param_values_cmp().
SeeParamSpecTypeInfo.OnValuesCmp.onValuesCmp(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.ParamSpec, ch.bailu.gtk.gobject.Value, ch.bailu.gtk.gobject.Value)
- Siehe auch:
-
-
Konstruktordetails
-
ParamSpecTypeInfo
-
ParamSpecTypeInfo
public ParamSpecTypeInfo()
-
-
Methodendetails
-
getClassHandler
-
setFieldInstanceSize
public void setFieldInstanceSize(int instance_size) Size of the instance (object) structure. -
getFieldInstanceSize
public int getFieldInstanceSize()Size of the instance (object) structure. -
setFieldNPreallocs
public void setFieldNPreallocs(int n_preallocs) Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching). Since GLib 2.10, it is ignored, since instances are allocated with the [slice allocator][glib-Memory-Slices] now. -
getFieldNPreallocs
public int getFieldNPreallocs()Prior to GLib 2.10, it specified the number of pre-allocated (cached) instances to reserve memory for (0 indicates no caching). Since GLib 2.10, it is ignored, since instances are allocated with the [slice allocator][glib-Memory-Slices] now. -
setFieldInstanceInit
Location of the instance initialization function (optional).
SeeParamSpecTypeInfo.OnInstanceInit.onInstanceInit(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.ParamSpec)
-
getFieldInstanceInit
public ch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnInstanceInit getFieldInstanceInit()Location of the instance initialization function (optional).
SeeParamSpecTypeInfo.OnInstanceInit.onInstanceInit(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.ParamSpec)
-
setFieldValueType
public void setFieldValueType(long value_type) The #GType of values conforming to this #GParamSpec -
getFieldValueType
public long getFieldValueType()The #GType of values conforming to this #GParamSpec -
setFieldFinalize
The instance finalization function (optional).
SeeParamSpecTypeInfo.OnFinalize.onFinalize(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.ParamSpec)
-
getFieldFinalize
public ch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnFinalize getFieldFinalize()The instance finalization function (optional).
SeeParamSpecTypeInfo.OnFinalize.onFinalize(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.ParamSpec)
-
setFieldValueSetDefault
Resets a @value to the default value for @pspec
(recommended, the default is g_value_reset()), see
g_param_value_set_default().
SeeParamSpecTypeInfo.OnValueSetDefault.onValueSetDefault(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.ParamSpec, ch.bailu.gtk.gobject.Value)
-
getFieldValueSetDefault
public ch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnValueSetDefault getFieldValueSetDefault()Resets a @value to the default value for @pspec
(recommended, the default is g_value_reset()), see
g_param_value_set_default().
SeeParamSpecTypeInfo.OnValueSetDefault.onValueSetDefault(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.ParamSpec, ch.bailu.gtk.gobject.Value)
-
setFieldValueValidate
Ensures that the contents of @value comply with the
specifications set out by @pspec (optional), see
g_param_value_validate().
SeeParamSpecTypeInfo.OnValueValidate.onValueValidate(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.ParamSpec, ch.bailu.gtk.gobject.Value)
-
getFieldValueValidate
public ch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnValueValidate getFieldValueValidate()Ensures that the contents of @value comply with the
specifications set out by @pspec (optional), see
g_param_value_validate().
SeeParamSpecTypeInfo.OnValueValidate.onValueValidate(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.ParamSpec, ch.bailu.gtk.gobject.Value)
-
setFieldValuesCmp
Compares @value1 with @value2 according to @pspec
(recommended, the default is memcmp()), see g_param_values_cmp().
SeeParamSpecTypeInfo.OnValuesCmp.onValuesCmp(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.ParamSpec, ch.bailu.gtk.gobject.Value, ch.bailu.gtk.gobject.Value)
-
getFieldValuesCmp
public ch.bailu.gtk.gobject.JnaParamSpecTypeInfo.OnValuesCmp getFieldValuesCmp()Compares @value1 with @value2 according to @pspec
(recommended, the default is memcmp()), see g_param_values_cmp().
SeeParamSpecTypeInfo.OnValuesCmp.onValuesCmp(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.ParamSpec, ch.bailu.gtk.gobject.Value, ch.bailu.gtk.gobject.Value)
-