public interface CefContextMenuParams
| Modifier and Type | Interface and Description |
|---|---|
static class |
CefContextMenuParams.EditStateFlags
Supported context menu edit state bit flags.
|
static class |
CefContextMenuParams.MediaStateFlags
Supported context menu media state bit flags.
|
static class |
CefContextMenuParams.MediaType
Supported context menu media types.
|
static class |
CefContextMenuParams.TypeFlags
Supported context menu type flags.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDictionarySuggestions(java.util.Vector<java.lang.String> suggestions)
Returns true if suggestions exist, false otherwise.
|
int |
getEditStateFlags()
Returns flags representing the actions supported by the editable node, if
any, that the context menu was invoked on.
|
java.lang.String |
getFrameCharset()
Returns the character encoding of the subframe that the context menu was
invoked on.
|
java.lang.String |
getFrameUrl()
Returns the URL of the subframe that the context menu was invoked on.
|
java.lang.String |
getLinkUrl()
Returns the URL of the link, if any, that encloses the node that the
context menu was invoked on.
|
int |
getMediaStateFlags()
Returns flags representing the actions supported by the media element, if
any, that the context menu was invoked on.
|
CefContextMenuParams.MediaType |
getMediaType()
Returns the type of context node that the context menu was invoked on.
|
java.lang.String |
getMisspelledWord()
Returns the text of the misspelled word, if any, that the context menu was
invoked on.
|
java.lang.String |
getPageUrl()
Returns the URL of the top level page that the context menu was invoked on.
|
java.lang.String |
getSelectionText()
Returns the text of the selection, if any, that the context menu was
invoked on.
|
java.lang.String |
getSourceUrl()
Returns the source URL, if any, for the element that the context menu was
invoked on.
|
int |
getTypeFlags()
Returns flags representing the type of node that the context menu was
invoked on.
|
java.lang.String |
getUnfilteredLinkUrl()
Returns the link URL, if any, to be used ONLY for "copy link address".
|
int |
getXCoord()
Returns the X coordinate of the mouse where the context menu was invoked.
|
int |
getYCoord()
Returns the Y coordinate of the mouse where the context menu was invoked.
|
boolean |
hasImageContents()
Returns true if the context menu was invoked on an image which has
non-empty contents.
|
boolean |
isEditable()
Returns true if the context menu was invoked on an editable node.
|
boolean |
isSpellCheckEnabled()
Returns true if the context menu was invoked on an editable node where
spell-check is enabled.
|
boolean getDictionarySuggestions(java.util.Vector<java.lang.String> suggestions)
int getEditStateFlags()
java.lang.String getFrameCharset()
java.lang.String getFrameUrl()
java.lang.String getLinkUrl()
int getMediaStateFlags()
CefContextMenuParams.MediaType getMediaType()
java.lang.String getMisspelledWord()
java.lang.String getPageUrl()
java.lang.String getSelectionText()
java.lang.String getSourceUrl()
int getTypeFlags()
java.lang.String getUnfilteredLinkUrl()
int getXCoord()
int getYCoord()
boolean hasImageContents()
boolean isEditable()
boolean isSpellCheckEnabled()