Package | Description |
---|---|
com.teamdev.jxbrowser.engine |
This package provides the classes that allow you to work with engines.
|
Modifier and Type | Method and Description |
---|---|
EngineOptions.Builder |
EngineOptions.Builder.addSwitch(java.lang.String commandLineSwitch)
Adds the switch to the list of the switches that will be passed to the Chromium process.
|
EngineOptions.Builder |
EngineOptions.Builder.allowFileAccessFromFiles()
Allows file access from files for the
Engine instance. |
EngineOptions.Builder |
EngineOptions.Builder.chromiumDir(java.nio.file.Path chromiumDir)
Sets the absolute path to the directory where Chromium binaries are located.
|
EngineOptions.Builder |
EngineOptions.Builder.disableGpu()
Disables GPU rendering for the
Engine instance. |
EngineOptions.Builder |
EngineOptions.Builder.disableSandbox()
Disables the sandbox for the
Engine instance. |
EngineOptions.Builder |
EngineOptions.Builder.disableWebSecurity()
Disables the same-origin policy for the
Engine instance. |
EngineOptions.Builder |
EngineOptions.Builder.diskCacheSize(long diskCacheSize)
Sets the disk cache size, in bytes.
|
EngineOptions.Builder |
EngineOptions.Builder.enableAutoplay()
Allows automatically starting video and audio playbacks.
|
EngineOptions.Builder |
EngineOptions.Builder.enableIncognito()
Enables the incognito mode for the
Engine instance. |
EngineOptions.Builder |
EngineOptions.Builder.googleApiKey(java.lang.String googleApiKey)
Sets the Google API key.
|
EngineOptions.Builder |
EngineOptions.Builder.googleDefaultClientId(java.lang.String googleDefaultClientId)
Sets the Google client ID.
|
EngineOptions.Builder |
EngineOptions.Builder.googleDefaultClientSecret(java.lang.String googleDefaultClientSecret)
Sets the Google client secret.
|
EngineOptions.Builder |
EngineOptions.Builder.language(Language language)
Sets the Chromium language that is used on the default error pages and the message
dialogs.
|
EngineOptions.Builder |
EngineOptions.Builder.licenseKey(java.lang.String licenseKey)
Sets the licence key required to perform operations with the engine.
|
static EngineOptions.Builder |
EngineOptions.newBuilder(RenderingMode renderingMode)
Creates a new
EngineOptions builder. |
EngineOptions.Builder |
EngineOptions.Builder.passwordStore(PasswordStore passwordStore)
Sets the password store type that specifies which storage backend to use to encrypt
cookies on Linux.
|
EngineOptions.Builder |
EngineOptions.Builder.ppapiFlashPath(java.nio.file.Path ppapiFlashPath)
Sets the path to the PPAPI (Pepper) Flash.
|
EngineOptions.Builder |
EngineOptions.Builder.ppapiFlashVersion(java.lang.String ppapiFlashVersion)
Sets the version of the PPAPI (Pepper) Flash.
|
EngineOptions.Builder |
EngineOptions.Builder.remoteDebuggingPort(int remoteDebuggingPort)
Sets the remote debugging port.
|
EngineOptions.Builder |
EngineOptions.Builder.userAgent(java.lang.String userAgent)
Sets the custom user agent string that is used to override the default user agent for the
Engine . |
EngineOptions.Builder |
EngineOptions.Builder.userDataDir(java.nio.file.Path userDataDir)
Sets the absolute path to the directory where the user data is stored.
|