Package ch.bailu.gtk.gio
Class DBusPropertyInfo
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gio.DBusPropertyInfo
- All Implemented Interfaces:
PointerInterface
Information about a D-Bus property on a D-Bus interface.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Access control flags for the property.static final String
The name of the D-Bus property, e.g.static final String
The reference count or -1 if statically allocated.static final String
The D-Bus signature of the property (a single complete type). -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
int
Access control flags for the property.The name of the D-Bus property, e.g.int
The reference count or -1 if statically allocated.The D-Bus signature of the property (a single complete type).static int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
ref()
If @info is statically allocated does nothing.void
setFieldFlags
(int flags) Access control flags for the property.void
setFieldName
(Str name) The name of the D-Bus property, e.g.void
setFieldRefCount
(int ref_count) The reference count or -1 if statically allocated.void
setFieldSignature
(Str signature) The D-Bus signature of the property (a single complete type).void
unref()
If @info is statically allocated, does nothing.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
-
REF_COUNT
The reference count or -1 if statically allocated.- See Also:
-
NAME
The name of the D-Bus property, e.g. "SupportedFilesystems".- See Also:
-
SIGNATURE
The D-Bus signature of the property (a single complete type).- See Also:
-
FLAGS
Access control flags for the property.- See Also:
-
-
Constructor Details
-
DBusPropertyInfo
-
-
Method Details
-
getClassHandler
-
setFieldRefCount
public void setFieldRefCount(int ref_count) The reference count or -1 if statically allocated. -
getFieldRefCount
public int getFieldRefCount()The reference count or -1 if statically allocated. -
setFieldName
The name of the D-Bus property, e.g. "SupportedFilesystems". -
getFieldName
The name of the D-Bus property, e.g. "SupportedFilesystems". -
setFieldSignature
The D-Bus signature of the property (a single complete type). -
getFieldSignature
The D-Bus signature of the property (a single complete type). -
setFieldFlags
public void setFieldFlags(int flags) Access control flags for the property. -
getFieldFlags
public int getFieldFlags()Access control flags for the property. -
ref
If @info is statically allocated does nothing. Otherwise increases
the reference count.- Returns:
- The same @info.
-
unref
public void unref()If @info is statically allocated, does nothing. Otherwise decreases
the reference count of @info. When its reference count drops to 0,
the memory used is freed. -
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-