Enum Class TabViewShortcuts

java.lang.Object
java.lang.Enum<TabViewShortcuts>
org.gnome.adw.TabViewShortcuts
All Implemented Interfaces:
Serializable, Comparable<TabViewShortcuts>, Constable, Enumeration

@Generated("org.javagi.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(Set) and TabView.removeShortcuts(Set).

New values may be added to this enumeration over time.

Since:
1.2
  • Enum Constant Details

    • NONE

      public static final TabViewShortcuts NONE
      No shortcuts
    • CONTROL_TAB

      public static final TabViewShortcuts CONTROL_TAB
      Ctrl+Tab - switch to the next page
    • CONTROL_SHIFT_TAB

      public static final TabViewShortcuts CONTROL_SHIFT_TAB
      Shift+Ctrl+Tab - switch to the previous page
    • CONTROL_PAGE_UP

      public static final TabViewShortcuts CONTROL_PAGE_UP
      Ctrl+Page Up - switch to the previous page
    • CONTROL_PAGE_DOWN

      public static final TabViewShortcuts CONTROL_PAGE_DOWN
      Ctrl+Page Down - switch to the next page
    • CONTROL_HOME

      public static final TabViewShortcuts CONTROL_HOME
      Ctrl+Home - switch to the first page
    • CONTROL_END

      public static final TabViewShortcuts CONTROL_END
      Ctrl+End - switch to the last page
    • CONTROL_SHIFT_PAGE_UP

      public static final TabViewShortcuts CONTROL_SHIFT_PAGE_UP
      Ctrl+Shift+Page Up - move the selected page backward
    • CONTROL_SHIFT_PAGE_DOWN

      public static final TabViewShortcuts CONTROL_SHIFT_PAGE_DOWN
      Ctrl+Shift+Page Down - move the selected page forward
    • CONTROL_SHIFT_HOME

      public static final TabViewShortcuts CONTROL_SHIFT_HOME
      Ctrl+Shift+Home - move the selected page at the start
    • CONTROL_SHIFT_END

      public static final TabViewShortcuts CONTROL_SHIFT_END
      Ctrl+Shift+End - move the current page at the end
    • ALT_DIGITS

      public static final TabViewShortcuts ALT_DIGITS
      Alt+19 - switch to pages 1-9
    • ALT_ZERO

      public static final TabViewShortcuts ALT_ZERO
      Alt+0 - switch to page 10
    • ALL_SHORTCUTS

      public static final TabViewShortcuts ALL_SHORTCUTS
      All of the shortcuts
  • Method Details

    • values

      public static TabViewShortcuts[] 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

      public static TabViewShortcuts valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static Set<TabViewShortcuts> of(int flags)
      Create a new EnumSet<TabViewShortcuts> for the provided bitfield
      Parameters:
      flags - the TabViewShortcuts bitfield
      Returns:
      the EnumSet for the provided bitfield
    • of

      public static Set<TabViewShortcuts> of(MemorySegment address)
      Create a new EnumSet<TabViewShortcuts> for the bitfield in the provided memory address.
      Parameters:
      address - the memory address holding a bitfield value
      Returns:
      the EnumSet for the bitfield in the provided memory address
    • getType

      public static @Nullable Type getType()
      Get the GType of the TabViewShortcuts class.
      Returns:
      the GType