Package org.gnome.gdk
Enum Class EventType
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<EventType>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum EventType
extends Enum<EventType>
implements Enumeration
Specifies the type of the event.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptiona mouse button has been pressed.a mouse button has been released.the window manager has requested that the toplevel surface be hidden or destroyed, usually when the user clicks on a special icon in the title bar.the mouse has entered the surface while a drag is in progress.the mouse has left the surface while a drag is in progress.the mouse has moved in the surface while a drag is in progress.a drop operation onto the surface has started.the pointer has entered the surface.marks the end of the GdkEventType enumeration.the keyboard focus has entered or left the surface.a pointer or keyboard grab was broken.a key has been pressed.a key has been released.the pointer has left the surface.the pointer (usually a mouse) has moved.A tablet pad button press event.A tablet pad button release event.A tablet pad group mode change.A tablet pad axis event from a "ring".A tablet pad axis event from a "strip".an input device has moved into contact with a sensing surface (e.g.an input device has moved out of contact with a sensing surface.the scroll wheel was turnedA new touch event sequence has just started.A touch event sequence has been canceled.A touch event sequence has finished.A touch event sequence has been updated.A touchpad hold gesture event, the current state is determined by its phase field.A touchpad pinch gesture event, the current state is determined by its phase field.A touchpad swipe gesture event, the current state is determined by its phase field. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the EventType classint
getValue()
Get the numeric value of this enumstatic EventType
of
(int value) Create a new EventType for the provided valuestatic EventType
Returns the enum constant of this class with the specified name.static EventType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DELETE
the window manager has requested that the toplevel surface be hidden or destroyed, usually when the user clicks on a special icon in the title bar. -
MOTION_NOTIFY
the pointer (usually a mouse) has moved. -
BUTTON_PRESS
a mouse button has been pressed. -
BUTTON_RELEASE
a mouse button has been released. -
KEY_PRESS
a key has been pressed. -
KEY_RELEASE
a key has been released. -
ENTER_NOTIFY
the pointer has entered the surface. -
LEAVE_NOTIFY
the pointer has left the surface. -
FOCUS_CHANGE
the keyboard focus has entered or left the surface. -
PROXIMITY_IN
an input device has moved into contact with a sensing surface (e.g. a touchscreen or graphics tablet). -
PROXIMITY_OUT
an input device has moved out of contact with a sensing surface. -
DRAG_ENTER
the mouse has entered the surface while a drag is in progress. -
DRAG_LEAVE
the mouse has left the surface while a drag is in progress. -
DRAG_MOTION
the mouse has moved in the surface while a drag is in progress. -
DROP_START
a drop operation onto the surface has started. -
SCROLL
the scroll wheel was turned -
GRAB_BROKEN
a pointer or keyboard grab was broken. -
TOUCH_BEGIN
A new touch event sequence has just started. -
TOUCH_UPDATE
A touch event sequence has been updated. -
TOUCH_END
A touch event sequence has finished. -
TOUCH_CANCEL
A touch event sequence has been canceled. -
TOUCHPAD_SWIPE
A touchpad swipe gesture event, the current state is determined by its phase field. -
TOUCHPAD_PINCH
A touchpad pinch gesture event, the current state is determined by its phase field. -
PAD_BUTTON_PRESS
A tablet pad button press event. -
PAD_BUTTON_RELEASE
A tablet pad button release event. -
PAD_RING
A tablet pad axis event from a "ring". -
PAD_STRIP
A tablet pad axis event from a "strip". -
PAD_GROUP_MODE
A tablet pad group mode change. -
TOUCHPAD_HOLD
A touchpad hold gesture event, the current state is determined by its phase field. -
EVENT_LAST
marks the end of the GdkEventType enumeration.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
of
Create a new EventType for the provided value- Parameters:
value
- the enum value- Returns:
- the enum for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-
getType
-