Spec-Zone .ru
спецификации, руководства, описания, API
JavaFX 8.0

Package javafx.scene.web

This package provides means for loading and displaying Web content.

See: Description

Package javafx.scene.web Description

This package provides means for loading and displaying Web content. Its functionality is implemented by two core classes:

WebEngine is a non-visual component capable of loading Web pages, creating DOM objects for them, and running scripts inside pages.

WebView is a Node that presents a Web page managed by a WebEngine. Each WebView has a WebEngine associated with it. This association is established at the time WebView is instantiated, and cannot be changed later.

Both WebEngine and WebView should be created and manipulated on FX User thread.

The code snippet below shows a typical usage scenario:

JavaFX 8.0

Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.