public static interface ShowContextMenuCallback.Params
ShowContextMenuCallback
.Modifier and Type | Method and Description |
---|---|
default Browser |
browser()
Returns the
Browser instance requested to display this context menu. |
default java.util.List<ContextMenuItem> |
customContextMenuItems()
Returns an immutable list of the custom context menu items.
|
default java.lang.String |
frameCharset()
Returns a string that represents the character encoding of the frame on which the menu is
invoked.
|
default java.lang.String |
frameUrl()
Returns a string that represents the URL of the sub-frame that the context menu is
invoked on.
|
default java.lang.String |
linkText()
Returns a string that represents the text associated with the link.
|
default java.lang.String |
linkUrl()
Returns a string that represents the URL of the link that encloses the node the context
menu is invoked on.
|
default Point |
location()
Returns the context menu location.
|
default MediaType |
mediaType()
Returns the media type of the node the context menu is invoked on.
|
default java.lang.String |
pageUrl()
Returns a string that represents the source URL of the top level page that the context
menu is invoked on.
|
default java.lang.String |
selectedText()
Returns a string that represents the text of the selection that the context menu is
invoked on.
|
default SpellCheckMenu |
spellCheckMenu()
Returns the spell check sub menu.
|
default java.lang.String |
srcUrl()
Returns a string that represents the source URL of the HTML element that the context menu
is invoked on.
|
default Browser browser()
Browser
instance requested to display this context menu.default Point location()
default java.lang.String linkUrl()
default java.lang.String linkText()
default java.lang.String srcUrl()
default java.lang.String pageUrl()
default java.lang.String frameUrl()
default java.lang.String selectedText()
default java.lang.String frameCharset()
default MediaType mediaType()
default java.util.List<ContextMenuItem> customContextMenuItems()
default SpellCheckMenu spellCheckMenu()