Package org.gnome.adw
Enum Class TabViewShortcuts
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<TabViewShortcuts>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum TabViewShortcuts
extends Enum<TabViewShortcuts>
implements Enumeration
Describes available shortcuts in an
TabView
.
Shortcuts can be set with TabView:shortcuts
, or added/removed
individually with TabView.addShortcuts(java.util.Set<org.gnome.adw.TabViewShortcuts>)
and
TabView.removeShortcuts(java.util.Set<org.gnome.adw.TabViewShortcuts>)
.
New values may be added to this enumeration over time.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAll of the shortcutsAlt
+1
⋯9
- switch to pages 1-9Alt
+0
- switch to page 10Ctrl
+End
- switch to the last pageCtrl
+Home
- switch to the first pageCtrl
+Page Down
- switch to the next pageCtrl
+Page Up
- switch to the previous pageCtrl
+Shift
+End
- move the current page at the endCtrl
+Shift
+Home
- move the selected page at the startCtrl
+Shift
+Page Down
- move the selected page forwardCtrl
+Shift
+Page Up
- move the selected page backwardShift
+Ctrl
+Tab
- switch to the previous pageCtrl
+Tab
- switch to the next pageNo shortcuts -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the TabViewShortcuts classint
getValue()
Get the numeric value of this enumstatic TabViewShortcuts
of
(int value) Create a new TabViewShortcuts for the provided valuestatic TabViewShortcuts
Returns the enum constant of this class with the specified name.static TabViewShortcuts[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No shortcuts -
CONTROL_TAB
Ctrl
+Tab
- switch to the next page -
CONTROL_SHIFT_TAB
Shift
+Ctrl
+Tab
- switch to the previous page -
CONTROL_PAGE_UP
Ctrl
+Page Up
- switch to the previous page -
CONTROL_PAGE_DOWN
Ctrl
+Page Down
- switch to the next page -
CONTROL_HOME
Ctrl
+Home
- switch to the first page -
CONTROL_END
Ctrl
+End
- switch to the last page -
CONTROL_SHIFT_PAGE_UP
Ctrl
+Shift
+Page Up
- move the selected page backward -
CONTROL_SHIFT_PAGE_DOWN
Ctrl
+Shift
+Page Down
- move the selected page forward -
CONTROL_SHIFT_HOME
Ctrl
+Shift
+Home
- move the selected page at the start -
CONTROL_SHIFT_END
Ctrl
+Shift
+End
- move the current page at the end -
ALT_DIGITS
Alt
+1
⋯9
- switch to pages 1-9 -
ALT_ZERO
Alt
+0
- switch to page 10 -
ALL_SHORTCUTS
All of the shortcuts
-
-
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 TabViewShortcuts 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
-