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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandlerintthe enum valuethe name of the valuethe nickname of the valuevoidsetFieldValue(int value) the enum valuevoidsetFieldValueName(Str value_name) the name of the valuevoidsetFieldValueNick(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, unregisterCallbacksMethods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
-