scalafx

application

package application

Wraps javafx.application package.

Source
package.scala
Linear Supertypes
Content Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. application
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait ApplicationIncludes extends AnyRef

    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

  3. trait JFXApp extends DelayedInit

    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

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

    Wrapper for javafx.application.ConditionalFeature

  3. object JFXApp

  4. object Platform

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

Inherited from AnyRef

Inherited from Any

Ungrouped