Enum Class ContextMenuAction

java.lang.Object
java.lang.Enum<ContextMenuAction>
org.webkitgtk.ContextMenuAction
All Implemented Interfaces:
Serializable, Comparable<ContextMenuAction>, Constable, Enumeration

@Generated("org.javagi.JavaGI") public enum ContextMenuAction extends Enum<ContextMenuAction> implements Enumeration
Enum values used to denote the stock actions for WebKitContextMenuItems
  • Enum Constant Details

    • NO_ACTION

      public static final ContextMenuAction NO_ACTION
      No action, used by separator menu items.
    • OPEN_IMAGE_IN_NEW_WINDOW

      public static final ContextMenuAction OPEN_IMAGE_IN_NEW_WINDOW
      Open current image in a new window.
    • DOWNLOAD_IMAGE_TO_DISK

      public static final ContextMenuAction DOWNLOAD_IMAGE_TO_DISK
      Download current image.
    • COPY_IMAGE_TO_CLIPBOARD

      public static final ContextMenuAction COPY_IMAGE_TO_CLIPBOARD
      Copy current image to the clipboard.
    • COPY_IMAGE_URL_TO_CLIPBOARD

      public static final ContextMenuAction COPY_IMAGE_URL_TO_CLIPBOARD
      Copy current image location to the clipboard.
    • OPEN_FRAME_IN_NEW_WINDOW

      public static final ContextMenuAction OPEN_FRAME_IN_NEW_WINDOW
      Open current frame in a new window.
    • GO_BACK

      public static final ContextMenuAction GO_BACK
      Load the previous history item.
    • GO_FORWARD

      public static final ContextMenuAction GO_FORWARD
      Load the next history item.
    • STOP

      public static final ContextMenuAction STOP
      Stop any ongoing loading operation.
    • RELOAD

      public static final ContextMenuAction RELOAD
      Reload the contents of current view.
    • COPY

      public static final ContextMenuAction COPY
      Copy current selection the clipboard.
    • CUT

      public static final ContextMenuAction CUT
      Cut current selection to the clipboard.
    • PASTE

      public static final ContextMenuAction PASTE
      Paste clipboard contents.
    • DELETE

      public static final ContextMenuAction DELETE
      Delete current selection.
    • SELECT_ALL

      public static final ContextMenuAction SELECT_ALL
      Select all text.
    • INPUT_METHODS

      public static final ContextMenuAction INPUT_METHODS
      Input methods menu.
    • UNICODE

      public static final ContextMenuAction UNICODE
      Unicode menu.
    • SPELLING_GUESS

      public static final ContextMenuAction SPELLING_GUESS
      A proposed replacement for a misspelled word.
    • NO_GUESSES_FOUND

      public static final ContextMenuAction NO_GUESSES_FOUND
      An indicator that spellchecking found no proposed replacements.
    • IGNORE_SPELLING

      public static final ContextMenuAction IGNORE_SPELLING
      Causes the spellchecker to ignore the word for this session.
    • LEARN_SPELLING

      public static final ContextMenuAction LEARN_SPELLING
      Causes the spellchecker to add the word to the dictionary.
    • IGNORE_GRAMMAR

      public static final ContextMenuAction IGNORE_GRAMMAR
      Ignore grammar.
    • FONT_MENU

      public static final ContextMenuAction FONT_MENU
      Font options menu.
    • BOLD

      public static final ContextMenuAction BOLD
      Bold.
    • ITALIC

      public static final ContextMenuAction ITALIC
      Italic.
    • UNDERLINE

      public static final ContextMenuAction UNDERLINE
      Underline.
    • OUTLINE

      public static final ContextMenuAction OUTLINE
      Outline.
    • INSPECT_ELEMENT

      public static final ContextMenuAction INSPECT_ELEMENT
      Open current element in the inspector.
    • OPEN_VIDEO_IN_NEW_WINDOW

      public static final ContextMenuAction OPEN_VIDEO_IN_NEW_WINDOW
      Open current video element in a new window.
    • OPEN_AUDIO_IN_NEW_WINDOW

      public static final ContextMenuAction OPEN_AUDIO_IN_NEW_WINDOW
      Open current audio element in a new window.
    • TOGGLE_MEDIA_CONTROLS

      public static final ContextMenuAction TOGGLE_MEDIA_CONTROLS
      Enable or disable media controls.
    • TOGGLE_MEDIA_LOOP

      public static final ContextMenuAction TOGGLE_MEDIA_LOOP
      Enable or disable media loop.
    • ENTER_VIDEO_FULLSCREEN

      public static final ContextMenuAction ENTER_VIDEO_FULLSCREEN
      Show current video element in fullscreen mode.
    • MEDIA_PLAY

      public static final ContextMenuAction MEDIA_PLAY
      Play current media element.
    • MEDIA_PAUSE

      public static final ContextMenuAction MEDIA_PAUSE
      Pause current media element.
    • MEDIA_MUTE

      public static final ContextMenuAction MEDIA_MUTE
      Mute current media element.
    • DOWNLOAD_VIDEO_TO_DISK

      public static final ContextMenuAction DOWNLOAD_VIDEO_TO_DISK
      Download video to disk. Since 2.2
    • DOWNLOAD_AUDIO_TO_DISK

      public static final ContextMenuAction DOWNLOAD_AUDIO_TO_DISK
      Download audio to disk. Since 2.2
    • INSERT_EMOJI

      public static final ContextMenuAction INSERT_EMOJI
      Insert an emoji. Since 2.26
    • PASTE_AS_PLAIN_TEXT

      public static final ContextMenuAction PASTE_AS_PLAIN_TEXT
      Paste clipboard contents as plain text. Since 2.30
    • CUSTOM

      public static final ContextMenuAction CUSTOM
      Custom action defined by applications.
  • Method Details

    • values

      public static ContextMenuAction[] 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 ContextMenuAction 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
    • of

      public static ContextMenuAction of(int value)
      Create a new ContextMenuAction 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 interface Enumeration
      Returns:
      the enum value
    • of

      public static ContextMenuAction of(MemorySegment address)
      Create a new ContextMenuAction for the value in the provided memory address.
      Parameters:
      address - the memory address holding a enum value
      Returns:
      the enum for the value in the provided memory address
    • getType

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