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 ClassHandlerintExtracts the direction of a scroll event.static intstatic longstatic TypeSystem.TypeSizestatic longstatic TypeSystem.TypeSizeintgetUnit()Extracts the scroll delta unit of a scroll event.booleanisStop()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, unrefVon Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksVon Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
ScrollEvent
-
-
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()
-