Package ch.bailu.gtk.gdk
Klasse ScrollEvent
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gdk.Event
ch.bailu.gtk.gdk.ScrollEvent
- Alle implementierten Schnittstellen:
PointerInterface
An event related to a scrolling motion.
-
Feldübersicht
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandler
int
Extracts the direction of a scroll event.static int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
int
getUnit()
Extracts the scroll delta unit of a scroll event.boolean
isStop()
Check whether a scroll event is a stop scroll event.Von Klasse geerbte Methoden ch.bailu.gtk.gdk.Event
getDevice, getDeviceTool, getDisplay, getEventSequence, getEventType, getModifierState, getPointerEmulated, getSeat, getSurface, getTime, ref, triggersContextMenu, unref
Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
Methodendetails
-
getClassHandler
-
getDirection
public int getDirection()Extracts the direction of a scroll event.- Gibt zurück:
- the scroll direction of @event
-
getUnit
public int getUnit()Extracts the scroll delta unit of a scroll event.
The unit will always be %GDK_SCROLL_UNIT_WHEEL if the scroll direction is not
%GDK_SCROLL_SMOOTH.- Gibt zurück:
- the scroll unit.
-
isStop
public boolean isStop()Check whether a scroll event is a stop scroll event.
Scroll sequences with smooth scroll information may provide
a stop scroll event once the interaction with the device finishes,
e.g. by lifting a finger. This stop scroll event is the signal
that a widget may trigger kinetic scrolling based on the current
velocity.
Stop scroll events always have a delta of 0/0.- Gibt zurück:
- %TRUE if the event is a scroll stop event
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-