Package com.teamdev.jxbrowser.browser
Interface CloseOptions
public interface CloseOptions
The options for the
Browser.close(CloseOptions) method.- Since:
- 7.6
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CloseOptions.BuilderCreates a newCloseOptionsbuilder.default booleanReturnstrueif the registered on the web pagebeforeunloadandunloadJavaScript events should be fired when closing a browser instance.
-
Method Details
-
newBuilder
Creates a newCloseOptionsbuilder.- Returns:
- a new
CloseOptions.Builderinstance
-
shouldFireBeforeUnload
default boolean shouldFireBeforeUnload()Returnstrueif the registered on the web pagebeforeunloadandunloadJavaScript events should be fired when closing a browser instance.
-