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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandlerintFlags indicating what axes are present, see [flags@Gdk.AxisFlags]intThe timestamp for this eventvoidsetFieldFlags(int flags) Flags indicating what axes are present, see [flags@Gdk.AxisFlags]voidsetFieldTime(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, 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
-
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]
-