public interface CefContextMenuParams
| 限定符和类型 | 接口和说明 |
|---|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
getDictionarySuggestions(Vector<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.
|
String |
getFrameCharset()
Returns the character encoding of the subframe that the context menu was
invoked on.
|
String |
getFrameUrl()
Returns the URL of the subframe that the context menu was invoked on.
|
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.
|
String |
getMisspelledWord()
Returns the text of the misspelled word, if any, that the context menu was
invoked on.
|
String |
getPageUrl()
Returns the URL of the top level page that the context menu was invoked on.
|
String |
getSelectionText()
Returns the text of the selection, if any, that the context menu was
invoked on.
|
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.
|
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.
|
int getXCoord()
int getYCoord()
int getTypeFlags()
String getLinkUrl()
String getUnfilteredLinkUrl()
String getSourceUrl()
boolean hasImageContents()
String getPageUrl()
String getFrameUrl()
String getFrameCharset()
CefContextMenuParams.MediaType getMediaType()
int getMediaStateFlags()
String getSelectionText()
String getMisspelledWord()
boolean getDictionarySuggestions(Vector<String> suggestions)
boolean isEditable()
boolean isSpellCheckEnabled()
int getEditStateFlags()
Copyright © 2017. All rights reserved.