Package org.gnome.webkit
Enum Class ContextMenuAction
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<ContextMenuAction>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum ContextMenuAction
extends Enum<ContextMenuAction>
implements Enumeration
Enum values used to denote the stock actions for
WebKitContextMenuItem
<!-- -->s-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionBold.Copy current selection the clipboard.Copy audio link location in to the clipboard.Copy current image to the clipboard.Copy current image location to the clipboard.Copy link location to the clipboard.Copy video link location in to the clipboard.Custom action defined by applications.Cut current selection to the clipboard.Delete current selection.Download audio to disk.Download current image.Download link destination.Download video to disk.Show current video element in fullscreen mode.Font options menu.Load the previous history item.Load the next history item.Ignore grammar.Causes the spellchecker to ignore the word for this session.Input methods menu.Insert an emoji.Open current element in the inspector.Italic.Causes the spellchecker to add the word to the dictionary.Mute current media element.Pause current media element.Play current media element.No action, used by separator menu items.An indicator that spellchecking found no proposed replacements.Open current audio element in a new window.Open current frame in a new window.Open current image in a new window.Open current link.Open current link in a new window.Open current video element in a new window.Outline.Paste clipboard contents.Paste clipboard contents as plain text.Reload the contents of current view.Select all text.A proposed replacement for a misspelled word.Stop any ongoing loading operation.Enable or disable media controls.Enable or disable media loop.Underline.Unicode menu. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the ContextMenuAction classint
getValue()
Get the numeric value of this enumstatic ContextMenuAction
of
(int value) Create a new ContextMenuAction for the provided valuestatic ContextMenuAction
Returns the enum constant of this class with the specified name.static ContextMenuAction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_ACTION
No action, used by separator menu items. -
OPEN_LINK
Open current link. -
OPEN_LINK_IN_NEW_WINDOW
Open current link in a new window. -
DOWNLOAD_LINK_TO_DISK
Download link destination. -
COPY_LINK_TO_CLIPBOARD
Copy link location to the clipboard. -
OPEN_IMAGE_IN_NEW_WINDOW
Open current image in a new window. -
DOWNLOAD_IMAGE_TO_DISK
Download current image. -
COPY_IMAGE_TO_CLIPBOARD
Copy current image to the clipboard. -
COPY_IMAGE_URL_TO_CLIPBOARD
Copy current image location to the clipboard. -
OPEN_FRAME_IN_NEW_WINDOW
Open current frame in a new window. -
GO_BACK
Load the previous history item. -
GO_FORWARD
Load the next history item. -
STOP
Stop any ongoing loading operation. -
RELOAD
Reload the contents of current view. -
COPY
Copy current selection the clipboard. -
CUT
Cut current selection to the clipboard. -
PASTE
Paste clipboard contents. -
DELETE
Delete current selection. -
SELECT_ALL
Select all text. -
INPUT_METHODS
Input methods menu. -
UNICODE
Unicode menu. -
SPELLING_GUESS
A proposed replacement for a misspelled word. -
NO_GUESSES_FOUND
An indicator that spellchecking found no proposed replacements. -
IGNORE_SPELLING
Causes the spellchecker to ignore the word for this session. -
LEARN_SPELLING
Causes the spellchecker to add the word to the dictionary. -
IGNORE_GRAMMAR
Ignore grammar. -
FONT_MENU
Font options menu. -
BOLD
Bold. -
ITALIC
Italic. -
UNDERLINE
Underline. -
OUTLINE
Outline. -
INSPECT_ELEMENT
Open current element in the inspector. -
OPEN_VIDEO_IN_NEW_WINDOW
Open current video element in a new window. -
OPEN_AUDIO_IN_NEW_WINDOW
Open current audio element in a new window. -
COPY_VIDEO_LINK_TO_CLIPBOARD
Copy video link location in to the clipboard. -
COPY_AUDIO_LINK_TO_CLIPBOARD
Copy audio link location in to the clipboard. -
TOGGLE_MEDIA_CONTROLS
Enable or disable media controls. -
TOGGLE_MEDIA_LOOP
Enable or disable media loop. -
ENTER_VIDEO_FULLSCREEN
Show current video element in fullscreen mode. -
MEDIA_PLAY
Play current media element. -
MEDIA_PAUSE
Pause current media element. -
MEDIA_MUTE
Mute current media element. -
DOWNLOAD_VIDEO_TO_DISK
Download video to disk. Since 2.2 -
DOWNLOAD_AUDIO_TO_DISK
Download audio to disk. Since 2.2 -
INSERT_EMOJI
Insert an emoji. Since 2.26 -
PASTE_AS_PLAIN_TEXT
Paste clipboard contents as plain text. Since 2.30 -
CUSTOM
Custom action defined by applications.
-
-
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 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 interfaceEnumeration
- Returns:
- the enum value
-
getType
-