Package org.panda_lang.pandomium.wrapper
Class PandomiumClient
java.lang.Object
org.panda_lang.pandomium.wrapper.PandomiumClient
public class PandomiumClient extends Object
-
Constructor Summary
Constructors Constructor Description PandomiumClient(org.cef.CefApp cefApp, boolean isOffscreenRendered, boolean isTransparent)Initialises a newPandomiumClientobject. -
Method Summary
Modifier and Type Method Description org.cef.browser.CefBrowsercreateBrowser(String url)org.cef.CefAppgetCefApp()org.cef.CefClientgetCefClient()org.cef.browser.CefRequestContextgetContext()booleanisOffscreenRendered()booleanisTransparent()org.cef.browser.CefBrowserloadURL(String url)Same ascreateBrowser(String).voidsetOffscreenRendered(boolean offscreenRendered)voidsetTransparent(boolean transparent)
-
Constructor Details
-
PandomiumClient
public PandomiumClient(org.cef.CefApp cefApp, boolean isOffscreenRendered, boolean isTransparent)Initialises a newPandomiumClientobject.- Parameters:
cefApp- the application context.isOffscreenRendered- should the browser be rendered offscreen.isTransparent- should the browser be transparent.
-
-
Method Details
-
createBrowser
-
loadURL
Same ascreateBrowser(String). -
getCefClient
public org.cef.CefClient getCefClient() -
getCefApp
public org.cef.CefApp getCefApp() -
getContext
public org.cef.browser.CefRequestContext getContext() -
isOffscreenRendered
public boolean isOffscreenRendered() -
setOffscreenRendered
public void setOffscreenRendered(boolean offscreenRendered) -
isTransparent
public boolean isTransparent() -
setTransparent
public void setTransparent(boolean transparent)
-