Package ch.bailu.gtk.gobject
Class EnumValue
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gobject.EnumValue
- All Implemented Interfaces:
PointerInterface
A structure which contains a single enum value, its name, and its
nickname.
nickname.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
int
the enum valuethe name of the valuethe nickname of the valuevoid
setFieldValue
(int value) the enum valuevoid
setFieldValueName
(Str value_name) the name of the valuevoid
setFieldValueNick
(Str value_nick) the nickname of the valueMethods 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
-
VALUE
the enum value- See Also:
-
VALUE_NAME
the name of the value- See Also:
-
VALUE_NICK
the nickname of the value- See Also:
-
-
Constructor Details
-
EnumValue
-
EnumValue
public EnumValue()
-
-
Method Details
-
getClassHandler
-
setFieldValue
public void setFieldValue(int value) the enum value -
getFieldValue
public int getFieldValue()the enum value -
setFieldValueName
the name of the value -
getFieldValueName
the name of the value -
setFieldValueNick
the nickname of the value -
getFieldValueNick
the nickname of the value
-