Package ch.bailu.gtk.gdk
Class TimeCoord
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gdk.TimeCoord
- All Implemented Interfaces:
PointerInterface
A `GdkTimeCoord` stores a single event in a motion history.
To check whether an axis is present, check whether the corresponding
flag from the [flags@Gdk.AxisFlags] enumeration is set in the @flags
To access individual axis values, use the values of the values of
the [enum@Gdk.AxisUse] enumerations as indices.
To check whether an axis is present, check whether the corresponding
flag from the [flags@Gdk.AxisFlags] enumeration is set in the @flags
To access individual axis values, use the values of the values of
the [enum@Gdk.AxisUse] enumerations as indices.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
int
Flags indicating what axes are present, see [flags@Gdk.AxisFlags]int
The timestamp for this eventvoid
setFieldFlags
(int flags) Flags indicating what axes are present, see [flags@Gdk.AxisFlags]void
setFieldTime
(int time) The timestamp for this eventMethods 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
-
TIME
The timestamp for this event- See Also:
-
FLAGS
Flags indicating what axes are present, see [flags@Gdk.AxisFlags]- See Also:
-
-
Constructor Details
-
TimeCoord
-
-
Method Details
-
getClassHandler
-
setFieldTime
public void setFieldTime(int time) The timestamp for this event -
getFieldTime
public int getFieldTime()The timestamp for this event -
setFieldFlags
public void setFieldFlags(int flags) Flags indicating what axes are present, see [flags@Gdk.AxisFlags] -
getFieldFlags
public int getFieldFlags()Flags indicating what axes are present, see [flags@Gdk.AxisFlags]
-