Package org.freedesktop.gstreamer.video
Enum Class NavigationModifierType
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<NavigationModifierType>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum NavigationModifierType
extends Enum<NavigationModifierType>
implements Enumeration
Flags to indicate the state of modifier keys and mouse buttons
in events.
Typical modifier keys are Shift, Control, Meta, Super, Hyper, Alt, Compose, Apple, CapsLock or ShiftLock.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionthe first mouse button (usually the left button).the second mouse button (usually the right button).the third mouse button (usually the mouse wheel button or middle button).the fourth mouse button (typically the "Back" button).the fifth mouse button (typically the "forward" button).the Control key.the Hyper modifierA mask covering all entries inGdkModifierType
.the Meta modifierthe third modifier keythe fourth modifier keythe fifth modifier keythe sixth modifier keythe seventh modifier keythe Shift key.the Super modifier -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the NavigationModifierType classint
getValue()
Get the numeric value of this enumstatic NavigationModifierType
of
(int value) Create a new NavigationModifierType for the provided valuestatic NavigationModifierType
Returns the enum constant of this class with the specified name.static NavigationModifierType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
-
SHIFT_MASK
the Shift key. -
LOCK_MASK
-
CONTROL_MASK
the Control key. -
MOD1_MASK
the third modifier key -
MOD2_MASK
the fourth modifier key -
MOD3_MASK
the fifth modifier key -
MOD4_MASK
the sixth modifier key -
MOD5_MASK
the seventh modifier key -
BUTTON1_MASK
the first mouse button (usually the left button). -
BUTTON2_MASK
the second mouse button (usually the right button). -
BUTTON3_MASK
the third mouse button (usually the mouse wheel button or middle button). -
BUTTON4_MASK
the fourth mouse button (typically the "Back" button). -
BUTTON5_MASK
the fifth mouse button (typically the "forward" button). -
SUPER_MASK
the Super modifier -
HYPER_MASK
the Hyper modifier -
META_MASK
the Meta modifier -
MASK
A mask covering all entries inGdkModifierType
.
-
-
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 NavigationModifierType for the provided value- Parameters:
value
- the bitfield value- Returns:
- the bitfield 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
-