13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package javafx.scene.web;
27
28 import javafx.beans.property.BooleanProperty;
29 import javafx.beans.property.DoubleProperty;
30 import javafx.beans.property.ObjectProperty;
31 import javafx.beans.property.ReadOnlyDoubleProperty;
32 import javafx.beans.property.ReadOnlyDoubleWrapper;
33 import javafx.beans.value.ChangeListener;
34 import javafx.beans.value.ObservableValue;
35 import javafx.collections.ObservableList;
36 import javafx.css.CssMetaData;
37 import javafx.css.Styleable;
38 import javafx.css.StyleableBooleanProperty;
39 import javafx.css.StyleableDoubleProperty;
40 import javafx.css.StyleableObjectProperty;
41 import javafx.css.StyleableProperty;
42 import javafx.event.EventHandler;
43 import javafx.event.EventType;
44 import javafx.geometry.NodeOrientation;
45 import javafx.geometry.Point2D;
46 import javafx.scene.Node;
47 import javafx.scene.Parent;
48 import javafx.scene.Scene;
49 import javafx.scene.input.DataFormat;
50 import javafx.scene.input.DragEvent;
51 import javafx.scene.input.Dragboard;
52 import javafx.scene.input.InputMethodEvent;
53 import javafx.scene.input.KeyEvent;
54 import javafx.scene.input.MouseButton;
55 import javafx.scene.input.MouseEvent;
56 import javafx.scene.input.ScrollEvent;
57 import javafx.scene.input.TransferMode;
58 import javafx.scene.text.FontSmoothingType;
59 import java.util.ArrayList;
60 import java.util.Collections;
61 import java.util.HashMap;
62 import java.util.LinkedList;
63 import java.util.List;
64 import java.util.Map;
65 import com.sun.javafx.css.converters.BooleanConverter;
66 import com.sun.javafx.css.converters.EnumConverter;
67 import com.sun.javafx.css.converters.SizeConverter;
68 import com.sun.javafx.geom.BaseBounds;
69 import com.sun.javafx.geom.PickRay;
70 import com.sun.javafx.geom.transform.BaseTransform;
71 import com.sun.javafx.scene.DirtyBits;
72 import com.sun.javafx.scene.input.PickResultChooser;
73 import com.sun.javafx.sg.prism.NGNode;
74 import com.sun.javafx.sg.prism.web.NGWebView;
75 import com.sun.javafx.tk.TKPulseListener;
76 import com.sun.javafx.tk.Toolkit;
77 import com.sun.javafx.webkit.InputMethodClientImpl;
78 import com.sun.javafx.webkit.KeyCodeMap;
79 import com.sun.webkit.WebPage;
80 import com.sun.webkit.event.WCFocusEvent;
81 import com.sun.webkit.event.WCInputMethodEvent;
82 import com.sun.webkit.event.WCKeyEvent;
83 import com.sun.webkit.event.WCMouseEvent;
84 import com.sun.webkit.event.WCMouseWheelEvent;
85
86 /**
87 * {@code WebView} is a {@link javafx.scene.Node} that manages a
|
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 package javafx.scene.web;
27
28 import javafx.beans.property.BooleanProperty;
29 import javafx.beans.property.DoubleProperty;
30 import javafx.beans.property.ObjectProperty;
31 import javafx.beans.property.ReadOnlyDoubleProperty;
32 import javafx.beans.property.ReadOnlyDoubleWrapper;
33 import javafx.collections.ObservableList;
34 import javafx.css.CssMetaData;
35 import javafx.css.Styleable;
36 import javafx.css.StyleableBooleanProperty;
37 import javafx.css.StyleableDoubleProperty;
38 import javafx.css.StyleableObjectProperty;
39 import javafx.css.StyleableProperty;
40 import javafx.event.EventHandler;
41 import javafx.event.EventType;
42 import javafx.geometry.NodeOrientation;
43 import javafx.geometry.Point2D;
44 import javafx.scene.Node;
45 import javafx.scene.Parent;
46 import javafx.scene.Scene;
47 import javafx.scene.input.DataFormat;
48 import javafx.scene.input.DragEvent;
49 import javafx.scene.input.Dragboard;
50 import javafx.scene.input.InputMethodEvent;
51 import javafx.scene.input.KeyEvent;
52 import javafx.scene.input.MouseButton;
53 import javafx.scene.input.MouseEvent;
54 import javafx.scene.input.ScrollEvent;
55 import javafx.scene.input.TransferMode;
56 import javafx.scene.text.FontSmoothingType;
57 import java.util.ArrayList;
58 import java.util.Collections;
59 import java.util.HashMap;
60 import java.util.LinkedList;
61 import java.util.List;
62 import java.util.Map;
63 import javafx.css.converter.BooleanConverter;
64 import javafx.css.converter.EnumConverter;
65 import javafx.css.converter.SizeConverter;
66 import com.sun.javafx.geom.BaseBounds;
67 import com.sun.javafx.geom.PickRay;
68 import com.sun.javafx.geom.transform.BaseTransform;
69 import com.sun.javafx.scene.DirtyBits;
70 import com.sun.javafx.scene.input.PickResultChooser;
71 import com.sun.javafx.sg.prism.NGNode;
72 import com.sun.javafx.sg.prism.web.NGWebView;
73 import com.sun.javafx.tk.TKPulseListener;
74 import com.sun.javafx.tk.Toolkit;
75 import com.sun.javafx.webkit.InputMethodClientImpl;
76 import com.sun.javafx.webkit.KeyCodeMap;
77 import com.sun.webkit.WebPage;
78 import com.sun.webkit.event.WCFocusEvent;
79 import com.sun.webkit.event.WCInputMethodEvent;
80 import com.sun.webkit.event.WCKeyEvent;
81 import com.sun.webkit.event.WCMouseEvent;
82 import com.sun.webkit.event.WCMouseWheelEvent;
83
84 /**
85 * {@code WebView} is a {@link javafx.scene.Node} that manages a
|