package web
- Alphabetic
- By Inheritance
- web
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class HTMLEditor extends Control with SFXDelegate[javafx.scene.web.HTMLEditor]
Wraps JavaFX HTMLEditor
- class PopupFeatures extends SFXDelegate[javafx.scene.web.PopupFeatures]
Wraps JavaFX PopupFeatures
- class PromptData extends SFXDelegate[javafx.scene.web.PromptData]
Wraps JavaFX PromptData
- class WebEngine extends SFXDelegate[javafx.scene.web.WebEngine]
Wraps JavaFX WebEngine.
- final class WebErrorEvent extends Event with SFXDelegate[javafx.scene.web.WebErrorEvent]
Wraps JavaFX WebEvent.
Wraps JavaFX WebEvent.
- Since
8.0
- final class WebEvent[T] extends Event with SFXDelegate[javafx.scene.web.WebEvent[T]]
Wraps JavaFX WebEvent.
- trait WebIncludes extends AnyRef
Contains implcit methods to convert from
javafx.scene.web
Classes/Traits to their ScalaFX counterparts. - class WebView extends Parent with SFXDelegate[javafx.scene.web.WebView]
Wraps JavaFX WebView.
Value Members
- object HTMLEditor
Companion object for scalafx.scene.web.HTMLEditor
- object PopupFeatures
Companion object for scalafx.scene.web.PopupFeatures
- object PromptData
Companion object for scalafx.scene.web.PromptData
- object WebEngine
Companion object for scalafx.scene.web.WebEngine
- object WebErrorEvent
Companion object for scalafx.scene.web.WebErrorEvent.
- object WebEvent
Companion object for scalafx.scene.web.WebEvent.
- object WebIncludes extends WebIncludes
- object WebView
Companion object for scalafx.scene.web.WebView
ScalaFX is a UI DSL written within the Scala Language that sits on top of JavaFX 2.x and and JavaFX 8. This means that every ScalaFX application is also a valid Scala application. By extension it supports full interoperability with Java and can run anywhere the Java Virtual Machine (JVM) and JavaFX 2.0 or JavaFX 8 are supported.
Package Structure
ScalaFX package structure corresponds to JavaFX package structure, for instance
scalafx.animation
corresponds tojavafx.animation
.Example Usage
A basic ScalaFX application is created creating an object that is an instance of
JFXApp
. Following Java FX theatre metaphor, it contains astage
that contains ascene
. Astage
roughly corresponds to a window in a typical UI environment. Thescene
holds UI content presented to the user. In the example below, the content is a pane with a singlelabel
component.