Package com.teamdev.jxbrowser.browser
Interface CloseOptions
public interface CloseOptions
The options for the
Browser.close(CloseOptions)
method.- Since:
- 7.6
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CloseOptions.Builder
Creates a newCloseOptions
builder.default boolean
Returnstrue
if the registered on the web pagebeforeunload
andunload
JavaScript events should be fired when closing a browser instance.
-
Method Details
-
newBuilder
Creates a newCloseOptions
builder.- Returns:
- a new
CloseOptions.Builder
instance
-
shouldFireBeforeUnload
default boolean shouldFireBeforeUnload()Returnstrue
if the registered on the web pagebeforeunload
andunload
JavaScript events should be fired when closing a browser instance.
-