Package

scalafx

application

Permalink

package application

Wraps javafx.application package.

Source
package.scala
Linear Supertypes
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. application
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait ApplicationIncludes extends AnyRef

    Permalink

    Contains implicit methods to convert from javafx.application Classes to their ScalaFX counterparts.

  2. sealed case class ConditionalFeature(delegate: javafx.application.ConditionalFeature) extends SFXEnumDelegate[javafx.application.ConditionalFeature] with Product with Serializable

    Permalink
  3. class HostServices extends SFXDelegate[javafx.application.HostServices]

    Permalink

    This class provides HostServices for an Application.

    This class provides HostServices for an Application. This includes methods to get the code base and document base for an Application, show a web page in a browser, and communicate with the enclosing web page using JavaScript if the Application is running in a browser.

    Wraps a JavaFX HostServices.

  4. trait JFXApp extends DelayedInit

    Permalink

    ScalaFX applications can extend JFXApp to create properly initialized JavaFX applications.

    ScalaFX applications can extend JFXApp to create properly initialized JavaFX applications.

    On the back end JFXApp first calls javafx.application.Application.launch then executes body of its constructor when javafx.application.Application.start(primaryStage:Stage) is called. Here is an example use:

    object SimpleScalaFXApp extends JFXApp {
       stage = new PrimaryStage {
         title = "Simple ScalaFX App"
         scene = new Scene {
           root = new StackPane {
             padding = Insets(20)
             content = new Rectangle {
               width = 200
               height = 200
               fill = Color.DEEPSKYBLUE
             }
           }
         }
       }
    }

Value Members

  1. object ApplicationIncludes extends ApplicationIncludes

    Permalink
  2. object ConditionalFeature extends SFXEnumDelegateCompanion[javafx.application.ConditionalFeature, ConditionalFeature] with Serializable

    Permalink

    Wrapper for javafx.application.ConditionalFeature

  3. object HostServices

    Permalink
  4. object JFXApp

    Permalink
  5. object Platform

    Permalink

    Application platform support, wrapper for javafx.application.Platform.

Inherited from AnyRef

Inherited from Any

Ungrouped