Package ch.bailu.gtk.gobject
Class FlagsClass
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gobject.FlagsClass
- All Implemented Interfaces:
PointerInterface
The class of a flags type holds information about its
possible values.
possible values.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
int
a mask covering all possible values.int
the number of possible values.an array of #GFlagsValue structs describing the
individual values.void
setFieldMask
(int mask) a mask covering all possible values.void
setFieldNValues
(int n_values) the number of possible values.void
setFieldValues
(FlagsValue values) an array of #GFlagsValue structs describing the
individual values.Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Field Details
-
G_TYPE_CLASS
the parent class
Private field: direct-type- See Also:
-
MASK
a mask covering all possible values.- See Also:
-
N_VALUES
the number of possible values.- See Also:
-
VALUES
an array of #GFlagsValue structs describing the
individual values.- See Also:
-
-
Constructor Details
-
FlagsClass
-
FlagsClass
public FlagsClass()
-
-
Method Details
-
getClassHandler
-
setFieldMask
public void setFieldMask(int mask) a mask covering all possible values. -
getFieldMask
public int getFieldMask()a mask covering all possible values. -
setFieldNValues
public void setFieldNValues(int n_values) the number of possible values. -
getFieldNValues
public int getFieldNValues()the number of possible values. -
setFieldValues
an array of #GFlagsValue structs describing the
individual values. -
getFieldValues
an array of #GFlagsValue structs describing the
individual values.
-