Package com.teamdev.jxbrowser.profile
Interface ProfilePreferences
public interface ProfilePreferences
The preferences of a
Profile.- Since:
- 7.20
-
Method Summary
Modifier and TypeMethodDescriptionvoidDisables the web form autofill for the simpleinputvalues, credit cards, and user data.voidDisables the caret browsing.voidDisables network prediction.voidEnables the web form autofill for the simpleinputvalues, credit cards, and user data.voidEnables the caret browsing.voidEnables network prediction.booleanReturnstrueif the web form autofill for the simpleinputvalues, credit cards, or the user data is enabled.booleanReturnstrueif the caret browsing is enabled.booleanReturnstrueif network prediction (DNS prefetching, TCP and SSL pre-connection, pre-rendering of web pages, and resource prefetching) is enabled.
-
Method Details
-
isAutofillEnabled
boolean isAutofillEnabled()Returnstrueif the web form autofill for the simpleinputvalues, credit cards, or the user data is enabled.By default, the autofill is enabled.
Important: the autofill for the passwords is always enabled except the cases when a site has an invalid SSL certificate or the scheme is not registered as web-safe. The list of web-safe schemes: HTTP, HTTPS, WS, and WSS.
- Throws:
ObjectClosedException- when the profile is deleted or its engine is closed
-
enableAutofill
void enableAutofill()Enables the web form autofill for the simpleinputvalues, credit cards, and user data.- Throws:
ObjectClosedException- when the profile is deleted or its engine is closed
-
disableAutofill
void disableAutofill()Disables the web form autofill for the simpleinputvalues, credit cards, and user data.- Throws:
ObjectClosedException- when the profile is deleted or its engine is closed
-
isCaretBrowsingEnabled
boolean isCaretBrowsingEnabled()Returnstrueif the caret browsing is enabled.By default, the caret browsing is disabled.
- Throws:
ObjectClosedException- when the profile is deleted or its engine is closed- Since:
- 7.27
-
enableCaretBrowsing
void enableCaretBrowsing()Enables the caret browsing.The caret browsing allows using the arrow keys to browse the text on web pages.
- Throws:
ObjectClosedException- when the profile is deleted or its engine is closed- Since:
- 7.27
-
disableCaretBrowsing
void disableCaretBrowsing()Disables the caret browsing.- Throws:
ObjectClosedException- when the profile is deleted or its engine is closed- Since:
- 7.27
-
isNetworkPredictionEnabled
boolean isNetworkPredictionEnabled()Returnstrueif network prediction (DNS prefetching, TCP and SSL pre-connection, pre-rendering of web pages, and resource prefetching) is enabled.By default, the preference is enabled.
- Throws:
ObjectClosedException- when the profile is deleted or its engine is closed- Since:
- 7.29
-
enableNetworkPrediction
void enableNetworkPrediction()Enables network prediction.- Throws:
ObjectClosedException- when the profile is deleted or its engine is closed- Since:
- 7.29
-
disableNetworkPrediction
void disableNetworkPrediction()Disables network prediction.- Throws:
ObjectClosedException- when the profile is deleted or its engine is closed- Since:
- 7.29
-