Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-backports > by-pkgid > 1ae263a490540e4bc6d91c7b02edb6eb > files > 1594

java-1.8.0-openjfx-1.8.0.102-1.b14.1.mga5.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_101) on Fri Sep 16 10:50:58 UTC 2016 -->
<title>WebEngine (JavaFX 8)</title>
<meta name="date" content="2016-09-16">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="WebEngine (JavaFX 8)";
        }
    }
    catch(err) {
    }
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/WebEngine.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">JavaFX&nbsp;8</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../javafx/scene/web/PromptData.html" title="class in javafx.scene.web"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../javafx/scene/web/WebErrorEvent.html" title="class in javafx.scene.web"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?javafx/scene/web/WebEngine.html" target="_top">Frames</a></li>
<li><a href="WebEngine.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">javafx.scene.web</div>
<h2 title="Class WebEngine" class="title">Class WebEngine</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>javafx.scene.web.WebEngine</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public final class <span class="typeNameLabel">WebEngine</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block"><code>WebEngine</code> is a non-visual object capable of managing one Web page
 at a time. It loads Web pages, creates their document models, applies
 styles as necessary, and runs JavaScript on pages. It provides access
 to the document model of the current page, and enables two-way
 communication between a Java application and JavaScript code of the page.

 <h4>Loading Web Pages</h4>
 <p>The <code>WebEngine</code> class provides two ways to load content into a
 <code>WebEngine</code> object:
 <ul>
 <li>From an arbitrary URL using the <a href="../../../javafx/scene/web/WebEngine.html#load-java.lang.String-"><code>load(java.lang.String)</code></a> method. This method uses
     the <code>java.net</code> package for network access and protocol handling.
 <li>From an in-memory String using the
     <a href="../../../javafx/scene/web/WebEngine.html#loadContent-java.lang.String-java.lang.String-"><code>loadContent(java.lang.String, java.lang.String)</code></a> and
     <a href="../../../javafx/scene/web/WebEngine.html#loadContent-java.lang.String-"><code>loadContent(java.lang.String)</code></a> methods.
 </ul>
 <p>Loading always happens on a background thread. Methods that initiate
 loading return immediately after scheduling a background job. To track
 progress and/or cancel a job, use the <a href="../../../javafx/concurrent/Worker.html" title="interface in javafx.concurrent"><code>Worker</code></a>
 instance available from the <a href="../../../javafx/scene/web/WebEngine.html#getLoadWorker--"><code>getLoadWorker()</code></a> method.

 <p>The following example changes the stage title when loading completes
 successfully:
 <pre><code>
import javafx.concurrent.Worker.State;
final Stage stage;
webEngine.getLoadWorker().stateProperty().addListener(
        new ChangeListener&lt;State&gt;() {
            public void changed(ObservableValue ov, State oldState, State newState) {
                if (newState == State.SUCCEEDED) {
                    stage.setTitle(webEngine.getLocation());
                }
            }
        });
webEngine.load("http://javafx.com");
 </code></pre>

 <h4>User Interface Callbacks</h4>
 <p>A number of user interface callbacks may be registered with a
 <code>WebEngine</code> object. These callbacks are invoked when a script running
 on the page requests a user interface operation to be performed, for
 example, opens a popup window or changes status text. A <code>WebEngine</code>
 object cannot handle such requests internally, so it passes the request to
 the corresponding callbacks. If no callback is defined for a specific
 operation, the request is silently ignored.

 <p>The table below shows JavaScript user interface methods and properties
 with their corresponding <code>WebEngine</code> callbacks:
 <table border="1" width="400">
     <th>JavaScript method/property
     <th>WebEngine callback
 <tr><td><code>window.alert()</code><td><code>onAlert</code>
 <tr><td><code>window.confirm()</code><td><code>confirmHandler</code>
 <tr><td><code>window.open()</code><td><code>createPopupHandler</code>
 <tr><td><code>window.open()</code> and<br>
         <code>window.close()</code><td><code>onVisibilityChanged</code>
 <tr><td><code>window.prompt()</code><td><code>promptHandler</code>
 <tr><td>Setting <code>window.status</code><td><code>onStatusChanged</code>
 <tr><td>Setting any of the following:<br>
         <code>window.innerWidth</code>, <code>window.innerHeight</code>,<br>
         <code>window.outerWidth</code>, <code>window.outerHeight</code>,<br>
         <code>window.screenX</code>, <code>window.screenY</code>,<br>
         <code>window.screenLeft</code>, <code>window.screenTop</code>
         <td><code>onResized</code>
 </table>

 <p>The following example shows a callback that resizes a browser window:
 <pre><code>
Stage stage;
webEngine.setOnResized(
        new EventHandler&lt;WebEvent&lt;Rectangle2D&gt;&gt;() {
            public void handle(WebEvent&lt;Rectangle2D&gt; ev) {
                Rectangle2D r = ev.getData();
                stage.setWidth(r.getWidth());
                stage.setHeight(r.getHeight());
            }
        });
 </code></pre>

 <h4>Access to Document Model</h4>
 <p>The <code>WebEngine</code> objects create and manage a Document Object Model
 (DOM) for their Web pages. The model can be accessed and modified using
 Java DOM Core classes. The <a href="../../../javafx/scene/web/WebEngine.html#getDocument--"><code>getDocument()</code></a> method provides access
 to the root of the model. Additionally DOM Event specification is supported
 to define event handlers in Java code.

 <p>The following example attaches a Java event listener to an element of
 a Web page. Clicking on the element causes the application to exit:
 <pre><code>
EventListener listener = new EventListener() {
    public void handleEvent(Event ev) {
        Platform.exit();
    }
};

Document doc = webEngine.getDocument();
Element el = doc.getElementById("exit-app");
((EventTarget) el).addEventListener("click", listener, false);
 </code></pre>

 <h4>Evaluating JavaScript expressions</h4>
 <p>It is possible to execute arbitrary JavaScript code in the context of
 the current page using the <a href="../../../javafx/scene/web/WebEngine.html#executeScript-java.lang.String-"><code>executeScript(java.lang.String)</code></a> method. For example:
 <pre><code>
webEngine.executeScript("history.back()");
 </code></pre>

 <p>The execution result is returned to the caller,
 as described in the next section.

 <h4>Mapping JavaScript values to Java objects</h4>

 JavaScript values are represented using the obvious Java classes:
 null becomes Java null; a boolean becomes a <code>java.lang.Boolean</code>;
 and a string becomes a <code>java.lang.String</code>.
 A number can be <code>java.lang.Double</code> or a <code>java.lang.Integer</code>,
 depending.
 The undefined value maps to a specific unique String
 object whose value is <code>"undefined"</code>.
 <p>
 If the result is a
 JavaScript object, it is wrapped as an instance of the
 <a href="../../../netscape/javascript/JSObject.html" title="class in netscape.javascript"><code>JSObject</code></a> class.
 (As a special case, if the JavaScript object is
 a <code>JavaRuntimeObject</code> as discussed in the next section,
 then the original Java object is extracted instead.)
 The <code>JSObject</code> class is a proxy that provides access to
 methods and properties of its underlying JavaScript object.
 The most commonly used <code>JSObject</code> methods are
 <a href="../../../netscape/javascript/JSObject.html#getMember-java.lang.String-"><code>getMember</code></a>
 (to read a named property),
 <a href="../../../netscape/javascript/JSObject.html#setMember-java.lang.String-java.lang.Object-"><code>setMember</code></a>
 (to set or define a property),
 and <a href="../../../netscape/javascript/JSObject.html#call-java.lang.String-java.lang.Object...-"><code>call</code></a>
 (to call a function-valued property).
 <p>
 A DOM <code>Node</code> is mapped to an object that both extends
 <code>JSObject</code> and implements the appropriate DOM interfaces.
 To get a <code>JSObject</code> object for a <code>Node</code> just do a cast:
 <pre>
 JSObject jdoc = (JSObject) webEngine.getDocument();
 </pre>
 <p>
 In some cases the context provides a specific Java type that guides
 the conversion.
 For example if setting a Java <code>String</code> field from a JavaScript
 expression, then the JavaScript value is converted to a string.

 <h4>Mapping Java objects to JavaScript values</h4>

 The arguments of the <code>JSObject</code> methods <code>setMember</code> and
 <code>call</code> pass Java objects to the JavaScript environment.
 This is roughly the inverse of the JavaScript-to-Java mapping
 described above:
 Java <code>String</code>,  <code>Number</code>, or <code>Boolean</code> objects
 are converted to the obvious JavaScript values. A  <code>JSObject</code>
 object is converted to the original wrapped JavaScript object.
 Otherwise a <code>JavaRuntimeObject</code> is created.  This is
 a JavaScript object that acts as a proxy for the Java object,
 in that accessing properties of the <code>JavaRuntimeObject</code>
 causes the Java field or method with the same name to be accessed.

 <h4>Calling back to Java from JavaScript</h4>

 <p>The <a href="../../../netscape/javascript/JSObject.html#setMember-java.lang.String-java.lang.Object-"><code>JSObject.setMember</code></a>
 method is useful to enable upcalls from JavaScript
 into Java code, as illustrated by the following example. The Java code
 establishes a new JavaScript object named <code>app</code>. This object has one
 public member, the method <code>exit</code>.
 <pre><code>
public class JavaApplication {
    public void exit() {
        Platform.exit();
    }
}
...
JSObject window = (JSObject) webEngine.executeScript("window");
window.setMember("app", new JavaApplication());
 </code></pre>
 You can then refer to the object and the method from your HTML page:
 <pre><code>
&lt;a href="" onclick="app.exit()"&gt;Click here to exit application&lt;/a&gt;
 </code></pre>
 <p>When a user clicks the link the application is closed.
 <p>
 If there are multiple Java methods with the given name,
 then the engine selects one matching the number of parameters
 in the call.  (Varargs are not handled.) An unspecified one is
 chosen if there are multiple ones with the correct number of parameters.
 <p>
 You can pick a specific overloaded method by listing the
 parameter types in an <q>extended method name</q>, which has the
 form <code>"<var>method_name</var>(<var>param_type1</var>,...,<var>param_typen</var>)"</code>.  Typically you'd write the JavaScript expression:
 <pre>
 <var>receiver</var>["<var>method_name</var>(<var>param_type1</var>,...,<var>param_typeN</var>)"](<var>arg1</var>,...,<var>argN</var>)</code>
 </pre>

 <h4>Threading</h4>
 <p><code>WebEngine</code> objects must be created and accessed solely from the
 JavaFX Application thread. This rule also applies to any DOM and JavaScript
 objects obtained from the <code>WebEngine</code> object.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 2.0</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== PROPERTY SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="property.summary">
<!--   -->
</a>
<h3>Property Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Property Summary table, listing properties, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Type</th>
<th class="colLast" scope="col">Property and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#confirmHandlerProperty">confirmHandler</a></span></code>
<div class="block">JavaScript <code>confirm</code> handler property.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/web/PopupFeatures.html" title="class in javafx.scene.web">PopupFeatures</a>,<a href="../../../javafx/scene/web/WebEngine.html" title="class in javafx.scene.web">WebEngine</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#createPopupHandlerProperty">createPopupHandler</a></span></code>
<div class="block">JavaScript popup handler property.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ReadOnlyObjectProperty.html" title="class in javafx.beans.property">ReadOnlyObjectProperty</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#documentProperty">document</a></span></code>
<div class="block">Document object for the current Web page.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#javaScriptEnabledProperty">javaScriptEnabled</a></span></code>
<div class="block">Specifies whether JavaScript execution is enabled.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ReadOnlyStringProperty.html" title="class in javafx.beans.property">ReadOnlyStringProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#locationProperty">location</a></span></code>
<div class="block">URL of the current Web page.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#onAlertProperty">onAlert</a></span></code>
<div class="block">JavaScript <code>alert</code> handler property.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebErrorEvent.html" title="class in javafx.scene.web">WebErrorEvent</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#onErrorProperty">onError</a></span></code>
<div class="block">The event handler called when an error occurs.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="../../../javafx/geometry/Rectangle2D.html" title="class in javafx.geometry">Rectangle2D</a>&gt;&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#onResizedProperty">onResized</a></span></code>
<div class="block">JavaScript window resize handler property.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#onStatusChangedProperty">onStatusChanged</a></span></code>
<div class="block">JavaScript status handler property.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#onVisibilityChangedProperty">onVisibilityChanged</a></span></code>
<div class="block">JavaScript window visibility handler property.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/web/PromptData.html" title="class in javafx.scene.web">PromptData</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#promptHandlerProperty">promptHandler</a></span></code>
<div class="block">JavaScript <code>prompt</code> handler property.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ReadOnlyStringProperty.html" title="class in javafx.beans.property">ReadOnlyStringProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#titleProperty">title</a></span></code>
<div class="block">Title of the current Web page.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/StringProperty.html" title="class in javafx.beans.property">StringProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#userAgentProperty">userAgent</a></span></code>
<div class="block">Specifies user agent ID string.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#userDataDirectoryProperty">userDataDirectory</a></span></code>
<div class="block">Specifies the directory to be used by this <code>WebEngine</code>
 to store local user data.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/StringProperty.html" title="class in javafx.beans.property">StringProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#userStyleSheetLocationProperty">userStyleSheetLocation</a></span></code>
<div class="block">Location of the user stylesheet as a string URL.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#WebEngine--">WebEngine</a></span>()</code>
<div class="block">Creates a new engine.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#WebEngine-java.lang.String-">WebEngine</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;url)</code>
<div class="block">Creates a new engine and loads a Web page into it.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#confirmHandlerProperty--">confirmHandlerProperty</a></span>()</code>
<div class="block">JavaScript <code>confirm</code> handler property.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/web/PopupFeatures.html" title="class in javafx.scene.web">PopupFeatures</a>,<a href="../../../javafx/scene/web/WebEngine.html" title="class in javafx.scene.web">WebEngine</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#createPopupHandlerProperty--">createPopupHandlerProperty</a></span>()</code>
<div class="block">JavaScript popup handler property.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ReadOnlyObjectProperty.html" title="class in javafx.beans.property">ReadOnlyObjectProperty</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#documentProperty--">documentProperty</a></span>()</code>
<div class="block">Document object for the current Web page.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#executeScript-java.lang.String-">executeScript</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;script)</code>
<div class="block">Executes a script in the context of the current page.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#getConfirmHandler--">getConfirmHandler</a></span>()</code>
<div class="block">Returns the JavaScript <code>confirm</code> handler.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/web/PopupFeatures.html" title="class in javafx.scene.web">PopupFeatures</a>,<a href="../../../javafx/scene/web/WebEngine.html" title="class in javafx.scene.web">WebEngine</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#getCreatePopupHandler--">getCreatePopupHandler</a></span>()</code>
<div class="block">Returns the JavaScript popup handler.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#getDocument--">getDocument</a></span>()</code>
<div class="block">Returns the document object for the current Web page.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/scene/web/WebHistory.html" title="class in javafx.scene.web">WebHistory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#getHistory--">getHistory</a></span>()</code>
<div class="block">Returns the session history object.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/concurrent/Worker.html" title="interface in javafx.concurrent">Worker</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#getLoadWorker--">getLoadWorker</a></span>()</code>
<div class="block">Returns a <a href="../../../javafx/concurrent/Worker.html" title="interface in javafx.concurrent"><code>Worker</code></a> object that can be used to
 track loading progress.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#getLocation--">getLocation</a></span>()</code>
<div class="block">Returns URL of the current Web page.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#getOnAlert--">getOnAlert</a></span>()</code>
<div class="block">Returns the JavaScript <code>alert</code> handler.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebErrorEvent.html" title="class in javafx.scene.web">WebErrorEvent</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#getOnError--">getOnError</a></span>()</code>
<div class="block">Gets the value of the property onError.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="../../../javafx/geometry/Rectangle2D.html" title="class in javafx.geometry">Rectangle2D</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#getOnResized--">getOnResized</a></span>()</code>
<div class="block">Returns the JavaScript window resize handler.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#getOnStatusChanged--">getOnStatusChanged</a></span>()</code>
<div class="block">Returns the JavaScript status handler.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#getOnVisibilityChanged--">getOnVisibilityChanged</a></span>()</code>
<div class="block">Returns the JavaScript window visibility handler.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/web/PromptData.html" title="class in javafx.scene.web">PromptData</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#getPromptHandler--">getPromptHandler</a></span>()</code>
<div class="block">Returns the JavaScript <code>prompt</code> handler.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#getTitle--">getTitle</a></span>()</code>
<div class="block">Returns title of the current Web page.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#getUserAgent--">getUserAgent</a></span>()</code>
<div class="block">Gets the value of the property userAgent.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#getUserDataDirectory--">getUserDataDirectory</a></span>()</code>
<div class="block">Gets the value of the property userDataDirectory.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#getUserStyleSheetLocation--">getUserStyleSheetLocation</a></span>()</code>
<div class="block">Gets the value of the property userStyleSheetLocation.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#isJavaScriptEnabled--">isJavaScriptEnabled</a></span>()</code>
<div class="block">Gets the value of the property javaScriptEnabled.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#javaScriptEnabledProperty--">javaScriptEnabledProperty</a></span>()</code>
<div class="block">Specifies whether JavaScript execution is enabled.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#load-java.lang.String-">load</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;url)</code>
<div class="block">Loads a Web page into this engine.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#loadContent-java.lang.String-">loadContent</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;content)</code>
<div class="block">Loads the given HTML content directly.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#loadContent-java.lang.String-java.lang.String-">loadContent</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;content,
           <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;contentType)</code>
<div class="block">Loads the given content directly.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ReadOnlyStringProperty.html" title="class in javafx.beans.property">ReadOnlyStringProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#locationProperty--">locationProperty</a></span>()</code>
<div class="block">URL of the current Web page.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#onAlertProperty--">onAlertProperty</a></span>()</code>
<div class="block">JavaScript <code>alert</code> handler property.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebErrorEvent.html" title="class in javafx.scene.web">WebErrorEvent</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#onErrorProperty--">onErrorProperty</a></span>()</code>
<div class="block">The event handler called when an error occurs.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="../../../javafx/geometry/Rectangle2D.html" title="class in javafx.geometry">Rectangle2D</a>&gt;&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#onResizedProperty--">onResizedProperty</a></span>()</code>
<div class="block">JavaScript window resize handler property.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#onStatusChangedProperty--">onStatusChangedProperty</a></span>()</code>
<div class="block">JavaScript status handler property.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#onVisibilityChangedProperty--">onVisibilityChangedProperty</a></span>()</code>
<div class="block">JavaScript window visibility handler property.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#print-javafx.print.PrinterJob-">print</a></span>(<a href="../../../javafx/print/PrinterJob.html" title="class in javafx.print">PrinterJob</a>&nbsp;job)</code>
<div class="block">Prints the current Web page using the given printer job.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/web/PromptData.html" title="class in javafx.scene.web">PromptData</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#promptHandlerProperty--">promptHandlerProperty</a></span>()</code>
<div class="block">JavaScript <code>prompt</code> handler property.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#reload--">reload</a></span>()</code>
<div class="block">Reloads the current page, whether loaded from URL or directly from a String in
 one of the <code>loadContent</code> methods.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#setConfirmHandler-javafx.util.Callback-">setConfirmHandler</a></span>(<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&nbsp;handler)</code>
<div class="block">Sets the JavaScript <code>confirm</code> handler.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#setCreatePopupHandler-javafx.util.Callback-">setCreatePopupHandler</a></span>(<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/web/PopupFeatures.html" title="class in javafx.scene.web">PopupFeatures</a>,<a href="../../../javafx/scene/web/WebEngine.html" title="class in javafx.scene.web">WebEngine</a>&gt;&nbsp;handler)</code>
<div class="block">Sets the JavaScript popup handler.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#setJavaScriptEnabled-boolean-">setJavaScriptEnabled</a></span>(boolean&nbsp;value)</code>
<div class="block">Sets the value of the property javaScriptEnabled.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#setOnAlert-javafx.event.EventHandler-">setOnAlert</a></span>(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&nbsp;handler)</code>
<div class="block">Sets the JavaScript <code>alert</code> handler.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#setOnError-javafx.event.EventHandler-">setOnError</a></span>(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebErrorEvent.html" title="class in javafx.scene.web">WebErrorEvent</a>&gt;&nbsp;handler)</code>
<div class="block">Sets the value of the property onError.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#setOnResized-javafx.event.EventHandler-">setOnResized</a></span>(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="../../../javafx/geometry/Rectangle2D.html" title="class in javafx.geometry">Rectangle2D</a>&gt;&gt;&nbsp;handler)</code>
<div class="block">Sets the JavaScript window resize handler.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#setOnStatusChanged-javafx.event.EventHandler-">setOnStatusChanged</a></span>(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&nbsp;handler)</code>
<div class="block">Sets the JavaScript status handler.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#setOnVisibilityChanged-javafx.event.EventHandler-">setOnVisibilityChanged</a></span>(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&gt;&nbsp;handler)</code>
<div class="block">Sets the JavaScript window visibility handler.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#setPromptHandler-javafx.util.Callback-">setPromptHandler</a></span>(<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/web/PromptData.html" title="class in javafx.scene.web">PromptData</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;handler)</code>
<div class="block">Sets the JavaScript <code>prompt</code> handler.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#setUserAgent-java.lang.String-">setUserAgent</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</code>
<div class="block">Sets the value of the property userAgent.</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#setUserDataDirectory-java.io.File-">setUserDataDirectory</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;value)</code>
<div class="block">Sets the value of the property userDataDirectory.</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#setUserStyleSheetLocation-java.lang.String-">setUserStyleSheetLocation</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</code>
<div class="block">Sets the value of the property userStyleSheetLocation.</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ReadOnlyStringProperty.html" title="class in javafx.beans.property">ReadOnlyStringProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#titleProperty--">titleProperty</a></span>()</code>
<div class="block">Title of the current Web page.</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/StringProperty.html" title="class in javafx.beans.property">StringProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#userAgentProperty--">userAgentProperty</a></span>()</code>
<div class="block">Specifies user agent ID string.</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#userDataDirectoryProperty--">userDataDirectoryProperty</a></span>()</code>
<div class="block">Specifies the directory to be used by this <code>WebEngine</code>
 to store local user data.</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code><a href="../../../javafx/beans/property/StringProperty.html" title="class in javafx.beans.property">StringProperty</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javafx/scene/web/WebEngine.html#userStyleSheetLocationProperty--">userStyleSheetLocationProperty</a></span>()</code>
<div class="block">Location of the user stylesheet as a string URL.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ PROPERTY DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="property.detail">
<!--   -->
</a>
<h3>Property Detail</h3>
<a name="documentProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>document</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ReadOnlyObjectProperty.html" title="class in javafx.beans.property">ReadOnlyObjectProperty</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a>&gt; documentProperty</pre>
<div class="block">Document object for the current Web page. The value is <code>null</code>
 if the Web page failed to load.</div>
</li>
</ul>
<a name="locationProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>location</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ReadOnlyStringProperty.html" title="class in javafx.beans.property">ReadOnlyStringProperty</a> locationProperty</pre>
<div class="block">URL of the current Web page. If the current page has no URL,
 the value is an empty String.</div>
</li>
</ul>
<a name="titleProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>title</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ReadOnlyStringProperty.html" title="class in javafx.beans.property">ReadOnlyStringProperty</a> titleProperty</pre>
<div class="block">Title of the current Web page. If the current page has no title,
 the value is <code>null</code>.</div>
</li>
</ul>
<a name="javaScriptEnabledProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>javaScriptEnabled</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a> javaScriptEnabledProperty</pre>
<div class="block">Specifies whether JavaScript execution is enabled.</div>
<dl>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd>true</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 2.2</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#isJavaScriptEnabled--"><code>isJavaScriptEnabled()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setJavaScriptEnabled-boolean-"><code>setJavaScriptEnabled(boolean)</code></a></dd>
</dl>
</li>
</ul>
<a name="userStyleSheetLocationProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>userStyleSheetLocation</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/StringProperty.html" title="class in javafx.beans.property">StringProperty</a> userStyleSheetLocationProperty</pre>
<div class="block">Location of the user stylesheet as a string URL.

 <p>This should be a local URL, i.e. either <code>'data:'</code>,
 <code>'file:'</code>, or <code>'jar:'</code>. Remote URLs are not allowed
 for security reasons.</div>
<dl>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd>null</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 2.2</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getUserStyleSheetLocation--"><code>getUserStyleSheetLocation()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setUserStyleSheetLocation-java.lang.String-"><code>setUserStyleSheetLocation(String)</code></a></dd>
</dl>
</li>
</ul>
<a name="userDataDirectoryProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>userDataDirectory</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&gt; userDataDirectoryProperty</pre>
<div class="block">Specifies the directory to be used by this <code>WebEngine</code>
 to store local user data.

 <p>If the value of this property is not <code>null</code>,
 the <code>WebEngine</code> will attempt to store local user data
 in the respective directory.
 If the value of this property is <code>null</code>,
 the <code>WebEngine</code> will attempt to store local user data
 in an automatically selected system-dependent user- and
 application-specific directory.

 <p>When a <code>WebEngine</code> is about to start loading a web
 page or executing a script for the first time, it checks whether
 it can actually use the directory specified by this property.
 If the check fails for some reason, the <code>WebEngine</code> invokes
 the <a href="../../../javafx/scene/web/WebEngine.html#onErrorProperty--"><code>WebEngine.onError</code></a> event handler,
 if any, with a <a href="../../../javafx/scene/web/WebErrorEvent.html" title="class in javafx.scene.web"><code>WebErrorEvent</code></a> describing the reason.
 If the invoked event handler modifies the <code>userDataDirectory</code>
 property, the <code>WebEngine</code> retries with the new value as soon
 as the handler returns. If the handler does not modify the
 <code>userDataDirectory</code> property (which is the default),
 the <code>WebEngine</code> continues without local user data.

 <p>Once the <code>WebEngine</code> has started loading a web page or
 executing a script, changes made to this property have no effect
 on where the <code>WebEngine</code> stores or will store local user
 data.

 <p>Currently, the directory specified by this property is used
 only to store the data that backs the <code>window.localStorage</code>
 objects. In the future, more types of data can be added.</div>
<dl>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd><code>null</code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8.0</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getUserDataDirectory--"><code>getUserDataDirectory()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setUserDataDirectory-java.io.File-"><code>setUserDataDirectory(File)</code></a></dd>
</dl>
</li>
</ul>
<a name="userAgentProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>userAgent</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/StringProperty.html" title="class in javafx.beans.property">StringProperty</a> userAgentProperty</pre>
<div class="block">Specifies user agent ID string. This string is the value of the
 <code>User-Agent</code> HTTP header.</div>
<dl>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd>system dependent</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8.0</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getUserAgent--"><code>getUserAgent()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setUserAgent-java.lang.String-"><code>setUserAgent(String)</code></a></dd>
</dl>
</li>
</ul>
<a name="onAlertProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onAlert</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&gt; onAlertProperty</pre>
<div class="block">JavaScript <code>alert</code> handler property. This handler is invoked
 when a script running on the Web page calls the <code>alert</code> function.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getOnAlert--"><code>getOnAlert()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setOnAlert-javafx.event.EventHandler-"><code>setOnAlert(EventHandler)</code></a></dd>
</dl>
</li>
</ul>
<a name="onStatusChangedProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onStatusChanged</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&gt; onStatusChangedProperty</pre>
<div class="block">JavaScript status handler property. This handler is invoked when
 a script running on the Web page sets <code>window.status</code> property.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getOnStatusChanged--"><code>getOnStatusChanged()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setOnStatusChanged-javafx.event.EventHandler-"><code>setOnStatusChanged(EventHandler)</code></a></dd>
</dl>
</li>
</ul>
<a name="onResizedProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onResized</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="../../../javafx/geometry/Rectangle2D.html" title="class in javafx.geometry">Rectangle2D</a>&gt;&gt;&gt; onResizedProperty</pre>
<div class="block">JavaScript window resize handler property. This handler is invoked
 when a script running on the Web page moves or resizes the
 <code>window</code> object.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getOnResized--"><code>getOnResized()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setOnResized-javafx.event.EventHandler-"><code>setOnResized(EventHandler)</code></a></dd>
</dl>
</li>
</ul>
<a name="onVisibilityChangedProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onVisibilityChanged</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&gt;&gt; onVisibilityChangedProperty</pre>
<div class="block">JavaScript window visibility handler property. This handler is invoked
 when a script running on the Web page changes visibility of the
 <code>window</code> object.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getOnVisibilityChanged--"><code>getOnVisibilityChanged()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setOnVisibilityChanged-javafx.event.EventHandler-"><code>setOnVisibilityChanged(EventHandler)</code></a></dd>
</dl>
</li>
</ul>
<a name="createPopupHandlerProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createPopupHandler</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/web/PopupFeatures.html" title="class in javafx.scene.web">PopupFeatures</a>,<a href="../../../javafx/scene/web/WebEngine.html" title="class in javafx.scene.web">WebEngine</a>&gt;&gt; createPopupHandlerProperty</pre>
<div class="block">JavaScript popup handler property. This handler is invoked when a script
 running on the Web page requests a popup to be created.
 <p>To satisfy this request a handler may create a new <code>WebEngine</code>,
 attach a visibility handler and optionally a resize handler, and return
 the newly created engine. To block the popup, a handler should return
 <code>null</code>.
 <p>By default, a popup handler is installed that opens popups in this
 <code>WebEngine</code>.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getCreatePopupHandler--"><code>getCreatePopupHandler()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setCreatePopupHandler-javafx.util.Callback-"><code>setCreatePopupHandler(Callback)</code></a></dd>
</dl>
</li>
</ul>
<a name="confirmHandlerProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>confirmHandler</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&gt; confirmHandlerProperty</pre>
<div class="block">JavaScript <code>confirm</code> handler property. This handler is invoked
 when a script running on the Web page calls the <code>confirm</code> function.
 <p>An implementation may display a dialog box with Yes and No options,
 and return the user's choice.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getConfirmHandler--"><code>getConfirmHandler()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setConfirmHandler-javafx.util.Callback-"><code>setConfirmHandler(Callback)</code></a></dd>
</dl>
</li>
</ul>
<a name="promptHandlerProperty">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>promptHandler</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/web/PromptData.html" title="class in javafx.scene.web">PromptData</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt; promptHandlerProperty</pre>
<div class="block">JavaScript <code>prompt</code> handler property. This handler is invoked
 when a script running on the Web page calls the <code>prompt</code> function.
 <p>An implementation may display a dialog box with an text field,
 and return the user's input.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getPromptHandler--"><code>getPromptHandler()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setPromptHandler-javafx.util.Callback-"><code>setPromptHandler(Callback)</code></a></dd>
</dl>
</li>
</ul>
<a name="onErrorProperty">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>onError</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebErrorEvent.html" title="class in javafx.scene.web">WebErrorEvent</a>&gt;&gt; onErrorProperty</pre>
<div class="block">The event handler called when an error occurs.</div>
<dl>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd><code>null</code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8.0</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getOnError--"><code>getOnError()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setOnError-javafx.event.EventHandler-"><code>setOnError(EventHandler)</code></a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="WebEngine--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>WebEngine</h4>
<pre>public&nbsp;WebEngine()</pre>
<div class="block">Creates a new engine.</div>
</li>
</ul>
<a name="WebEngine-java.lang.String-">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>WebEngine</h4>
<pre>public&nbsp;WebEngine(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;url)</pre>
<div class="block">Creates a new engine and loads a Web page into it.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="getLoadWorker--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLoadWorker</h4>
<pre>public final&nbsp;<a href="../../../javafx/concurrent/Worker.html" title="interface in javafx.concurrent">Worker</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>&gt;&nbsp;getLoadWorker()</pre>
<div class="block">Returns a <a href="../../../javafx/concurrent/Worker.html" title="interface in javafx.concurrent"><code>Worker</code></a> object that can be used to
 track loading progress.</div>
</li>
</ul>
<a name="getDocument--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDocument</h4>
<pre>public final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a>&nbsp;getDocument()</pre>
<div class="block">Returns the document object for the current Web page. If the Web page
 failed to load, returns <code>null</code>.</div>
</li>
</ul>
<a name="documentProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>documentProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ReadOnlyObjectProperty.html" title="class in javafx.beans.property">ReadOnlyObjectProperty</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a>&gt;&nbsp;documentProperty()</pre>
<div class="block">Document object for the current Web page. The value is <code>null</code>
 if the Web page failed to load.</div>
</li>
</ul>
<a name="getLocation--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLocation</h4>
<pre>public final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getLocation()</pre>
<div class="block">Returns URL of the current Web page. If the current page has no URL,
 returns an empty String.</div>
</li>
</ul>
<a name="locationProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>locationProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ReadOnlyStringProperty.html" title="class in javafx.beans.property">ReadOnlyStringProperty</a>&nbsp;locationProperty()</pre>
<div class="block">URL of the current Web page. If the current page has no URL,
 the value is an empty String.</div>
</li>
</ul>
<a name="getTitle--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTitle</h4>
<pre>public final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getTitle()</pre>
<div class="block">Returns title of the current Web page. If the current page has no title,
 returns <code>null</code>.</div>
</li>
</ul>
<a name="titleProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>titleProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ReadOnlyStringProperty.html" title="class in javafx.beans.property">ReadOnlyStringProperty</a>&nbsp;titleProperty()</pre>
<div class="block">Title of the current Web page. If the current page has no title,
 the value is <code>null</code>.</div>
</li>
</ul>
<a name="setJavaScriptEnabled-boolean-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setJavaScriptEnabled</h4>
<pre>public final&nbsp;void&nbsp;setJavaScriptEnabled(boolean&nbsp;value)</pre>
<div class="block">Sets the value of the property javaScriptEnabled.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>Specifies whether JavaScript execution is enabled.</dd>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd>true</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 2.2</dd>
</dl>
</li>
</ul>
<a name="isJavaScriptEnabled--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isJavaScriptEnabled</h4>
<pre>public final&nbsp;boolean&nbsp;isJavaScriptEnabled()</pre>
<div class="block">Gets the value of the property javaScriptEnabled.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>Specifies whether JavaScript execution is enabled.</dd>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd>true</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 2.2</dd>
</dl>
</li>
</ul>
<a name="javaScriptEnabledProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>javaScriptEnabledProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/BooleanProperty.html" title="class in javafx.beans.property">BooleanProperty</a>&nbsp;javaScriptEnabledProperty()</pre>
<div class="block">Specifies whether JavaScript execution is enabled.</div>
<dl>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd>true</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 2.2</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#isJavaScriptEnabled--"><code>isJavaScriptEnabled()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setJavaScriptEnabled-boolean-"><code>setJavaScriptEnabled(boolean)</code></a></dd>
</dl>
</li>
</ul>
<a name="setUserStyleSheetLocation-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUserStyleSheetLocation</h4>
<pre>public final&nbsp;void&nbsp;setUserStyleSheetLocation(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</pre>
<div class="block">Sets the value of the property userStyleSheetLocation.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>Location of the user stylesheet as a string URL.

 <p>This should be a local URL, i.e. either <code>'data:'</code>,
 <code>'file:'</code>, or <code>'jar:'</code>. Remote URLs are not allowed
 for security reasons.</dd>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd>null</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 2.2</dd>
</dl>
</li>
</ul>
<a name="getUserStyleSheetLocation--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserStyleSheetLocation</h4>
<pre>public final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getUserStyleSheetLocation()</pre>
<div class="block">Gets the value of the property userStyleSheetLocation.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>Location of the user stylesheet as a string URL.

 <p>This should be a local URL, i.e. either <code>'data:'</code>,
 <code>'file:'</code>, or <code>'jar:'</code>. Remote URLs are not allowed
 for security reasons.</dd>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd>null</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 2.2</dd>
</dl>
</li>
</ul>
<a name="userStyleSheetLocationProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>userStyleSheetLocationProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/StringProperty.html" title="class in javafx.beans.property">StringProperty</a>&nbsp;userStyleSheetLocationProperty()</pre>
<div class="block">Location of the user stylesheet as a string URL.

 <p>This should be a local URL, i.e. either <code>'data:'</code>,
 <code>'file:'</code>, or <code>'jar:'</code>. Remote URLs are not allowed
 for security reasons.</div>
<dl>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd>null</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 2.2</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getUserStyleSheetLocation--"><code>getUserStyleSheetLocation()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setUserStyleSheetLocation-java.lang.String-"><code>setUserStyleSheetLocation(String)</code></a></dd>
</dl>
</li>
</ul>
<a name="getUserDataDirectory--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserDataDirectory</h4>
<pre>public final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;getUserDataDirectory()</pre>
<div class="block">Gets the value of the property userDataDirectory.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>Specifies the directory to be used by this <code>WebEngine</code>
 to store local user data.

 <p>If the value of this property is not <code>null</code>,
 the <code>WebEngine</code> will attempt to store local user data
 in the respective directory.
 If the value of this property is <code>null</code>,
 the <code>WebEngine</code> will attempt to store local user data
 in an automatically selected system-dependent user- and
 application-specific directory.

 <p>When a <code>WebEngine</code> is about to start loading a web
 page or executing a script for the first time, it checks whether
 it can actually use the directory specified by this property.
 If the check fails for some reason, the <code>WebEngine</code> invokes
 the <a href="../../../javafx/scene/web/WebEngine.html#onErrorProperty--"><code>WebEngine.onError</code></a> event handler,
 if any, with a <a href="../../../javafx/scene/web/WebErrorEvent.html" title="class in javafx.scene.web"><code>WebErrorEvent</code></a> describing the reason.
 If the invoked event handler modifies the <code>userDataDirectory</code>
 property, the <code>WebEngine</code> retries with the new value as soon
 as the handler returns. If the handler does not modify the
 <code>userDataDirectory</code> property (which is the default),
 the <code>WebEngine</code> continues without local user data.

 <p>Once the <code>WebEngine</code> has started loading a web page or
 executing a script, changes made to this property have no effect
 on where the <code>WebEngine</code> stores or will store local user
 data.

 <p>Currently, the directory specified by this property is used
 only to store the data that backs the <code>window.localStorage</code>
 objects. In the future, more types of data can be added.</dd>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd><code>null</code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8.0</dd>
</dl>
</li>
</ul>
<a name="setUserDataDirectory-java.io.File-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUserDataDirectory</h4>
<pre>public final&nbsp;void&nbsp;setUserDataDirectory(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;value)</pre>
<div class="block">Sets the value of the property userDataDirectory.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>Specifies the directory to be used by this <code>WebEngine</code>
 to store local user data.

 <p>If the value of this property is not <code>null</code>,
 the <code>WebEngine</code> will attempt to store local user data
 in the respective directory.
 If the value of this property is <code>null</code>,
 the <code>WebEngine</code> will attempt to store local user data
 in an automatically selected system-dependent user- and
 application-specific directory.

 <p>When a <code>WebEngine</code> is about to start loading a web
 page or executing a script for the first time, it checks whether
 it can actually use the directory specified by this property.
 If the check fails for some reason, the <code>WebEngine</code> invokes
 the <a href="../../../javafx/scene/web/WebEngine.html#onErrorProperty--"><code>WebEngine.onError</code></a> event handler,
 if any, with a <a href="../../../javafx/scene/web/WebErrorEvent.html" title="class in javafx.scene.web"><code>WebErrorEvent</code></a> describing the reason.
 If the invoked event handler modifies the <code>userDataDirectory</code>
 property, the <code>WebEngine</code> retries with the new value as soon
 as the handler returns. If the handler does not modify the
 <code>userDataDirectory</code> property (which is the default),
 the <code>WebEngine</code> continues without local user data.

 <p>Once the <code>WebEngine</code> has started loading a web page or
 executing a script, changes made to this property have no effect
 on where the <code>WebEngine</code> stores or will store local user
 data.

 <p>Currently, the directory specified by this property is used
 only to store the data that backs the <code>window.localStorage</code>
 objects. In the future, more types of data can be added.</dd>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd><code>null</code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8.0</dd>
</dl>
</li>
</ul>
<a name="userDataDirectoryProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>userDataDirectoryProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&gt;&nbsp;userDataDirectoryProperty()</pre>
<div class="block">Specifies the directory to be used by this <code>WebEngine</code>
 to store local user data.

 <p>If the value of this property is not <code>null</code>,
 the <code>WebEngine</code> will attempt to store local user data
 in the respective directory.
 If the value of this property is <code>null</code>,
 the <code>WebEngine</code> will attempt to store local user data
 in an automatically selected system-dependent user- and
 application-specific directory.

 <p>When a <code>WebEngine</code> is about to start loading a web
 page or executing a script for the first time, it checks whether
 it can actually use the directory specified by this property.
 If the check fails for some reason, the <code>WebEngine</code> invokes
 the <a href="../../../javafx/scene/web/WebEngine.html#onErrorProperty--"><code>WebEngine.onError</code></a> event handler,
 if any, with a <a href="../../../javafx/scene/web/WebErrorEvent.html" title="class in javafx.scene.web"><code>WebErrorEvent</code></a> describing the reason.
 If the invoked event handler modifies the <code>userDataDirectory</code>
 property, the <code>WebEngine</code> retries with the new value as soon
 as the handler returns. If the handler does not modify the
 <code>userDataDirectory</code> property (which is the default),
 the <code>WebEngine</code> continues without local user data.

 <p>Once the <code>WebEngine</code> has started loading a web page or
 executing a script, changes made to this property have no effect
 on where the <code>WebEngine</code> stores or will store local user
 data.

 <p>Currently, the directory specified by this property is used
 only to store the data that backs the <code>window.localStorage</code>
 objects. In the future, more types of data can be added.</div>
<dl>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd><code>null</code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8.0</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getUserDataDirectory--"><code>getUserDataDirectory()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setUserDataDirectory-java.io.File-"><code>setUserDataDirectory(File)</code></a></dd>
</dl>
</li>
</ul>
<a name="setUserAgent-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUserAgent</h4>
<pre>public final&nbsp;void&nbsp;setUserAgent(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;value)</pre>
<div class="block">Sets the value of the property userAgent.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>Specifies user agent ID string. This string is the value of the
 <code>User-Agent</code> HTTP header.</dd>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd>system dependent</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8.0</dd>
</dl>
</li>
</ul>
<a name="getUserAgent--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserAgent</h4>
<pre>public final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getUserAgent()</pre>
<div class="block">Gets the value of the property userAgent.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>Specifies user agent ID string. This string is the value of the
 <code>User-Agent</code> HTTP header.</dd>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd>system dependent</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8.0</dd>
</dl>
</li>
</ul>
<a name="userAgentProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>userAgentProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/StringProperty.html" title="class in javafx.beans.property">StringProperty</a>&nbsp;userAgentProperty()</pre>
<div class="block">Specifies user agent ID string. This string is the value of the
 <code>User-Agent</code> HTTP header.</div>
<dl>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd>system dependent</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8.0</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getUserAgent--"><code>getUserAgent()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setUserAgent-java.lang.String-"><code>setUserAgent(String)</code></a></dd>
</dl>
</li>
</ul>
<a name="getOnAlert--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOnAlert</h4>
<pre>public final&nbsp;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&nbsp;getOnAlert()</pre>
<div class="block">Returns the JavaScript <code>alert</code> handler.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#onAlertProperty--"><code>onAlertProperty()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setOnAlert-javafx.event.EventHandler-"><code>setOnAlert(javafx.event.EventHandler&lt;javafx.scene.web.WebEvent&lt;java.lang.String&gt;&gt;)</code></a></dd>
</dl>
</li>
</ul>
<a name="setOnAlert-javafx.event.EventHandler-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOnAlert</h4>
<pre>public final&nbsp;void&nbsp;setOnAlert(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&nbsp;handler)</pre>
<div class="block">Sets the JavaScript <code>alert</code> handler.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#onAlertProperty--"><code>onAlertProperty()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#getOnAlert--"><code>getOnAlert()</code></a></dd>
</dl>
</li>
</ul>
<a name="onAlertProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onAlertProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&gt;&nbsp;onAlertProperty()</pre>
<div class="block">JavaScript <code>alert</code> handler property. This handler is invoked
 when a script running on the Web page calls the <code>alert</code> function.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getOnAlert--"><code>getOnAlert()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setOnAlert-javafx.event.EventHandler-"><code>setOnAlert(EventHandler)</code></a></dd>
</dl>
</li>
</ul>
<a name="getOnStatusChanged--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOnStatusChanged</h4>
<pre>public final&nbsp;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&nbsp;getOnStatusChanged()</pre>
<div class="block">Returns the JavaScript status handler.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#onStatusChangedProperty--"><code>onStatusChangedProperty()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setOnStatusChanged-javafx.event.EventHandler-"><code>setOnStatusChanged(javafx.event.EventHandler&lt;javafx.scene.web.WebEvent&lt;java.lang.String&gt;&gt;)</code></a></dd>
</dl>
</li>
</ul>
<a name="setOnStatusChanged-javafx.event.EventHandler-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOnStatusChanged</h4>
<pre>public final&nbsp;void&nbsp;setOnStatusChanged(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&nbsp;handler)</pre>
<div class="block">Sets the JavaScript status handler.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#onStatusChangedProperty--"><code>onStatusChangedProperty()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#getOnStatusChanged--"><code>getOnStatusChanged()</code></a></dd>
</dl>
</li>
</ul>
<a name="onStatusChangedProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onStatusChangedProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&gt;&nbsp;onStatusChangedProperty()</pre>
<div class="block">JavaScript status handler property. This handler is invoked when
 a script running on the Web page sets <code>window.status</code> property.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getOnStatusChanged--"><code>getOnStatusChanged()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setOnStatusChanged-javafx.event.EventHandler-"><code>setOnStatusChanged(EventHandler)</code></a></dd>
</dl>
</li>
</ul>
<a name="getOnResized--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOnResized</h4>
<pre>public final&nbsp;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="../../../javafx/geometry/Rectangle2D.html" title="class in javafx.geometry">Rectangle2D</a>&gt;&gt;&nbsp;getOnResized()</pre>
<div class="block">Returns the JavaScript window resize handler.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#onResizedProperty--"><code>onResizedProperty()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setOnResized-javafx.event.EventHandler-"><code>setOnResized(javafx.event.EventHandler&lt;javafx.scene.web.WebEvent&lt;javafx.geometry.Rectangle2D&gt;&gt;)</code></a></dd>
</dl>
</li>
</ul>
<a name="setOnResized-javafx.event.EventHandler-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOnResized</h4>
<pre>public final&nbsp;void&nbsp;setOnResized(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="../../../javafx/geometry/Rectangle2D.html" title="class in javafx.geometry">Rectangle2D</a>&gt;&gt;&nbsp;handler)</pre>
<div class="block">Sets the JavaScript window resize handler.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#onResizedProperty--"><code>onResizedProperty()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#getOnResized--"><code>getOnResized()</code></a></dd>
</dl>
</li>
</ul>
<a name="onResizedProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onResizedProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="../../../javafx/geometry/Rectangle2D.html" title="class in javafx.geometry">Rectangle2D</a>&gt;&gt;&gt;&nbsp;onResizedProperty()</pre>
<div class="block">JavaScript window resize handler property. This handler is invoked
 when a script running on the Web page moves or resizes the
 <code>window</code> object.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getOnResized--"><code>getOnResized()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setOnResized-javafx.event.EventHandler-"><code>setOnResized(EventHandler)</code></a></dd>
</dl>
</li>
</ul>
<a name="getOnVisibilityChanged--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOnVisibilityChanged</h4>
<pre>public final&nbsp;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&gt;&nbsp;getOnVisibilityChanged()</pre>
<div class="block">Returns the JavaScript window visibility handler.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#onVisibilityChangedProperty--"><code>onVisibilityChangedProperty()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setOnVisibilityChanged-javafx.event.EventHandler-"><code>setOnVisibilityChanged(javafx.event.EventHandler&lt;javafx.scene.web.WebEvent&lt;java.lang.Boolean&gt;&gt;)</code></a></dd>
</dl>
</li>
</ul>
<a name="setOnVisibilityChanged-javafx.event.EventHandler-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOnVisibilityChanged</h4>
<pre>public final&nbsp;void&nbsp;setOnVisibilityChanged(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&gt;&nbsp;handler)</pre>
<div class="block">Sets the JavaScript window visibility handler.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#onVisibilityChangedProperty--"><code>onVisibilityChangedProperty()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#getOnVisibilityChanged--"><code>getOnVisibilityChanged()</code></a></dd>
</dl>
</li>
</ul>
<a name="onVisibilityChangedProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onVisibilityChangedProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebEvent.html" title="class in javafx.scene.web">WebEvent</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&gt;&gt;&nbsp;onVisibilityChangedProperty()</pre>
<div class="block">JavaScript window visibility handler property. This handler is invoked
 when a script running on the Web page changes visibility of the
 <code>window</code> object.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getOnVisibilityChanged--"><code>getOnVisibilityChanged()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setOnVisibilityChanged-javafx.event.EventHandler-"><code>setOnVisibilityChanged(EventHandler)</code></a></dd>
</dl>
</li>
</ul>
<a name="getCreatePopupHandler--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCreatePopupHandler</h4>
<pre>public final&nbsp;<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/web/PopupFeatures.html" title="class in javafx.scene.web">PopupFeatures</a>,<a href="../../../javafx/scene/web/WebEngine.html" title="class in javafx.scene.web">WebEngine</a>&gt;&nbsp;getCreatePopupHandler()</pre>
<div class="block">Returns the JavaScript popup handler.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#createPopupHandlerProperty--"><code>createPopupHandlerProperty()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setCreatePopupHandler-javafx.util.Callback-"><code>setCreatePopupHandler(javafx.util.Callback&lt;javafx.scene.web.PopupFeatures, javafx.scene.web.WebEngine&gt;)</code></a></dd>
</dl>
</li>
</ul>
<a name="setCreatePopupHandler-javafx.util.Callback-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCreatePopupHandler</h4>
<pre>public final&nbsp;void&nbsp;setCreatePopupHandler(<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/web/PopupFeatures.html" title="class in javafx.scene.web">PopupFeatures</a>,<a href="../../../javafx/scene/web/WebEngine.html" title="class in javafx.scene.web">WebEngine</a>&gt;&nbsp;handler)</pre>
<div class="block">Sets the JavaScript popup handler.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#createPopupHandlerProperty--"><code>createPopupHandlerProperty()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#getCreatePopupHandler--"><code>getCreatePopupHandler()</code></a>, 
<a href="../../../javafx/scene/web/PopupFeatures.html" title="class in javafx.scene.web"><code>PopupFeatures</code></a></dd>
</dl>
</li>
</ul>
<a name="createPopupHandlerProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createPopupHandlerProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/web/PopupFeatures.html" title="class in javafx.scene.web">PopupFeatures</a>,<a href="../../../javafx/scene/web/WebEngine.html" title="class in javafx.scene.web">WebEngine</a>&gt;&gt;&nbsp;createPopupHandlerProperty()</pre>
<div class="block">JavaScript popup handler property. This handler is invoked when a script
 running on the Web page requests a popup to be created.
 <p>To satisfy this request a handler may create a new <code>WebEngine</code>,
 attach a visibility handler and optionally a resize handler, and return
 the newly created engine. To block the popup, a handler should return
 <code>null</code>.
 <p>By default, a popup handler is installed that opens popups in this
 <code>WebEngine</code>.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getCreatePopupHandler--"><code>getCreatePopupHandler()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setCreatePopupHandler-javafx.util.Callback-"><code>setCreatePopupHandler(Callback)</code></a></dd>
</dl>
</li>
</ul>
<a name="getConfirmHandler--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConfirmHandler</h4>
<pre>public final&nbsp;<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&nbsp;getConfirmHandler()</pre>
<div class="block">Returns the JavaScript <code>confirm</code> handler.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#confirmHandlerProperty--"><code>confirmHandlerProperty()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setConfirmHandler-javafx.util.Callback-"><code>setConfirmHandler(javafx.util.Callback&lt;java.lang.String, java.lang.Boolean&gt;)</code></a></dd>
</dl>
</li>
</ul>
<a name="setConfirmHandler-javafx.util.Callback-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setConfirmHandler</h4>
<pre>public final&nbsp;void&nbsp;setConfirmHandler(<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&nbsp;handler)</pre>
<div class="block">Sets the JavaScript <code>confirm</code> handler.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#confirmHandlerProperty--"><code>confirmHandlerProperty()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#getConfirmHandler--"><code>getConfirmHandler()</code></a></dd>
</dl>
</li>
</ul>
<a name="confirmHandlerProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>confirmHandlerProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&gt;&nbsp;confirmHandlerProperty()</pre>
<div class="block">JavaScript <code>confirm</code> handler property. This handler is invoked
 when a script running on the Web page calls the <code>confirm</code> function.
 <p>An implementation may display a dialog box with Yes and No options,
 and return the user's choice.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getConfirmHandler--"><code>getConfirmHandler()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setConfirmHandler-javafx.util.Callback-"><code>setConfirmHandler(Callback)</code></a></dd>
</dl>
</li>
</ul>
<a name="getPromptHandler--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPromptHandler</h4>
<pre>public final&nbsp;<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/web/PromptData.html" title="class in javafx.scene.web">PromptData</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;getPromptHandler()</pre>
<div class="block">Returns the JavaScript <code>prompt</code> handler.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#promptHandlerProperty--"><code>promptHandlerProperty()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setPromptHandler-javafx.util.Callback-"><code>setPromptHandler(javafx.util.Callback&lt;javafx.scene.web.PromptData, java.lang.String&gt;)</code></a>, 
<a href="../../../javafx/scene/web/PromptData.html" title="class in javafx.scene.web"><code>PromptData</code></a></dd>
</dl>
</li>
</ul>
<a name="setPromptHandler-javafx.util.Callback-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPromptHandler</h4>
<pre>public final&nbsp;void&nbsp;setPromptHandler(<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/web/PromptData.html" title="class in javafx.scene.web">PromptData</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;handler)</pre>
<div class="block">Sets the JavaScript <code>prompt</code> handler.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#promptHandlerProperty--"><code>promptHandlerProperty()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#getPromptHandler--"><code>getPromptHandler()</code></a>, 
<a href="../../../javafx/scene/web/PromptData.html" title="class in javafx.scene.web"><code>PromptData</code></a></dd>
</dl>
</li>
</ul>
<a name="promptHandlerProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>promptHandlerProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/util/Callback.html" title="interface in javafx.util">Callback</a>&lt;<a href="../../../javafx/scene/web/PromptData.html" title="class in javafx.scene.web">PromptData</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&gt;&nbsp;promptHandlerProperty()</pre>
<div class="block">JavaScript <code>prompt</code> handler property. This handler is invoked
 when a script running on the Web page calls the <code>prompt</code> function.
 <p>An implementation may display a dialog box with an text field,
 and return the user's input.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getPromptHandler--"><code>getPromptHandler()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setPromptHandler-javafx.util.Callback-"><code>setPromptHandler(Callback)</code></a></dd>
</dl>
</li>
</ul>
<a name="getOnError--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOnError</h4>
<pre>public final&nbsp;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebErrorEvent.html" title="class in javafx.scene.web">WebErrorEvent</a>&gt;&nbsp;getOnError()</pre>
<div class="block">Gets the value of the property onError.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>The event handler called when an error occurs.</dd>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd><code>null</code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8.0</dd>
</dl>
</li>
</ul>
<a name="setOnError-javafx.event.EventHandler-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOnError</h4>
<pre>public final&nbsp;void&nbsp;setOnError(<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebErrorEvent.html" title="class in javafx.scene.web">WebErrorEvent</a>&gt;&nbsp;handler)</pre>
<div class="block">Sets the value of the property onError.</div>
<dl>
<dt><span class="simpleTagLabel">Property description:</span></dt>
<dd>The event handler called when an error occurs.</dd>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd><code>null</code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8.0</dd>
</dl>
</li>
</ul>
<a name="onErrorProperty--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>onErrorProperty</h4>
<pre>public final&nbsp;<a href="../../../javafx/beans/property/ObjectProperty.html" title="class in javafx.beans.property">ObjectProperty</a>&lt;<a href="../../../javafx/event/EventHandler.html" title="interface in javafx.event">EventHandler</a>&lt;<a href="../../../javafx/scene/web/WebErrorEvent.html" title="class in javafx.scene.web">WebErrorEvent</a>&gt;&gt;&nbsp;onErrorProperty()</pre>
<div class="block">The event handler called when an error occurs.</div>
<dl>
<dt><span class="simpleTagLabel">Default value:</span></dt>
<dd><code>null</code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8.0</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../javafx/scene/web/WebEngine.html#getOnError--"><code>getOnError()</code></a>, 
<a href="../../../javafx/scene/web/WebEngine.html#setOnError-javafx.event.EventHandler-"><code>setOnError(EventHandler)</code></a></dd>
</dl>
</li>
</ul>
<a name="load-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>load</h4>
<pre>public&nbsp;void&nbsp;load(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;url)</pre>
<div class="block">Loads a Web page into this engine. This method starts asynchronous
 loading and returns immediately.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>url</code> - URL of the web page to load</dd>
</dl>
</li>
</ul>
<a name="loadContent-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>loadContent</h4>
<pre>public&nbsp;void&nbsp;loadContent(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;content)</pre>
<div class="block">Loads the given HTML content directly. This method is useful when you have an HTML
 String composed in memory, or loaded from some system which cannot be reached via
 a URL (for example, the HTML text may have come from a database). As with
 <a href="../../../javafx/scene/web/WebEngine.html#load-java.lang.String-"><code>load(String)</code></a>, this method is asynchronous.</div>
</li>
</ul>
<a name="loadContent-java.lang.String-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>loadContent</h4>
<pre>public&nbsp;void&nbsp;loadContent(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;content,
                        <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;contentType)</pre>
<div class="block">Loads the given content directly. This method is useful when you have content
 composed in memory, or loaded from some system which cannot be reached via
 a URL (for example, the SVG text may have come from a database). As with
 <a href="../../../javafx/scene/web/WebEngine.html#load-java.lang.String-"><code>load(String)</code></a>, this method is asynchronous. This method also allows you to
 specify the content type of the string being loaded, and so may optionally support
 other types besides just HTML.</div>
</li>
</ul>
<a name="reload--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reload</h4>
<pre>public&nbsp;void&nbsp;reload()</pre>
<div class="block">Reloads the current page, whether loaded from URL or directly from a String in
 one of the <code>loadContent</code> methods.</div>
</li>
</ul>
<a name="getHistory--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHistory</h4>
<pre>public&nbsp;<a href="../../../javafx/scene/web/WebHistory.html" title="class in javafx.scene.web">WebHistory</a>&nbsp;getHistory()</pre>
<div class="block">Returns the session history object.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>history object</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 2.2</dd>
</dl>
</li>
</ul>
<a name="executeScript-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeScript</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;executeScript(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;script)</pre>
<div class="block">Executes a script in the context of the current page.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>execution result, converted to a Java object using the following
 rules:
 <ul>
 <li>JavaScript Int32 is converted to <code>java.lang.Integer</code>
 <li>Other JavaScript numbers to <code>java.lang.Double</code>
 <li>JavaScript string to <code>java.lang.String</code>
 <li>JavaScript boolean to <code>java.lang.Boolean</code>
 <li>JavaScript <code>null</code> to <code>null</code>
 <li>Most JavaScript objects get wrapped as
     <code>netscape.javascript.JSObject</code>
 <li>JavaScript JSNode objects get mapped to instances of
     <code>netscape.javascript.JSObject</code>, that also implement
     <code>org.w3c.dom.Node</code>
 <li>A special case is the JavaScript class <code>JavaRuntimeObject</code>
     which is used to wrap a Java object as a JavaScript value - in this
     case we just extract the original Java value.
 </ul></dd>
</dl>
</li>
</ul>
<a name="print-javafx.print.PrinterJob-">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>print</h4>
<pre>public&nbsp;void&nbsp;print(<a href="../../../javafx/print/PrinterJob.html" title="class in javafx.print">PrinterJob</a>&nbsp;job)</pre>
<div class="block">Prints the current Web page using the given printer job.
 <p>This method does not modify the state of the job, nor does it call
 <a href="../../../javafx/print/PrinterJob.html#endJob--"><code>PrinterJob.endJob()</code></a>, so the job may be safely reused afterwards.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>job</code> - printer job used for printing</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>JavaFX 8.0</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/WebEngine.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage">JavaFX&nbsp;8</div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../javafx/scene/web/PromptData.html" title="class in javafx.scene.web"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../javafx/scene/web/WebErrorEvent.html" title="class in javafx.scene.web"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?javafx/scene/web/WebEngine.html" target="_top">Frames</a></li>
<li><a href="WebEngine.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><font size="-1"><a href="http://bugreport.java.com/bugreport/" target="_blank">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="https://docs.oracle.com/javase/8/docs/index.html" target="_blank">Java SE Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.<br> <a href="https://docs.oracle.com/javase/8/docs/legal/cpyr.html" target="_blank">Copyright</a> &copy; 2008, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to <a href="http://download.oracle.com/otndocs/jcp/java_se-8-mrel-spec/license.html" target="_blank">license terms</a>. Also see the <a target="_blank" href="http://www.oracle.com/technetwork/java/redist-137594.html" target="_blank">documentation redistribution policy</a>.</font></small></p>
</body>
</html>