public final class WebPageClientImpl extends java.lang.Object implements WebPageClient<WebView>
Modifier and Type | Field and Description |
---|---|
private Accessor |
accessor |
private static boolean |
backBufferSupported |
private static WebConsoleListener |
consoleListener |
private boolean |
isTooltipRegistered |
private java.lang.String |
oldTooltipText |
private Tooltip |
tooltip |
Constructor and Description |
---|
WebPageClientImpl(Accessor accessor) |
Modifier and Type | Method and Description |
---|---|
void |
addMessageToConsole(java.lang.String message,
int lineNumber,
java.lang.String sourceId) |
WCPageBackBuffer |
createBackBuffer() |
void |
didClearWindowObject(long context,
long windowObject) |
WebView |
getContainer() |
WCRectangle |
getScreenBounds(boolean available) |
int |
getScreenDepth() |
boolean |
isBackBufferSupported() |
WCPoint |
screenToWindow(WCPoint ptScreen) |
(package private) static void |
setConsoleListener(WebConsoleListener consoleListener) |
void |
setCursor(long cursorID) |
void |
setFocus(boolean focus) |
void |
setTooltip(java.lang.String tooltipText) |
void |
transferFocus(boolean forward) |
WCPoint |
windowToScreen(WCPoint ptWindow) |
private static final boolean backBufferSupported
private static WebConsoleListener consoleListener
private final Accessor accessor
private Tooltip tooltip
private boolean isTooltipRegistered
private java.lang.String oldTooltipText
public WebPageClientImpl(Accessor accessor)
static void setConsoleListener(WebConsoleListener consoleListener)
public void setFocus(boolean focus)
setFocus
in interface WebPageClient<WebView>
public void setCursor(long cursorID)
setCursor
in interface WebPageClient<WebView>
public void setTooltip(java.lang.String tooltipText)
setTooltip
in interface WebPageClient<WebView>
public void transferFocus(boolean forward)
transferFocus
in interface WebPageClient<WebView>
public WCRectangle getScreenBounds(boolean available)
getScreenBounds
in interface WebPageClient<WebView>
public int getScreenDepth()
getScreenDepth
in interface WebPageClient<WebView>
public WebView getContainer()
getContainer
in interface WebPageClient<WebView>
public WCPoint screenToWindow(WCPoint ptScreen)
screenToWindow
in interface WebPageClient<WebView>
public WCPoint windowToScreen(WCPoint ptWindow)
windowToScreen
in interface WebPageClient<WebView>
public WCPageBackBuffer createBackBuffer()
createBackBuffer
in interface WebPageClient<WebView>
public boolean isBackBufferSupported()
isBackBufferSupported
in interface WebPageClient<WebView>
public void addMessageToConsole(java.lang.String message, int lineNumber, java.lang.String sourceId)
addMessageToConsole
in interface WebPageClient<WebView>
public void didClearWindowObject(long context, long windowObject)
didClearWindowObject
in interface WebPageClient<WebView>