Object/Trait

scalafx.application

JFXApp

Related Docs: trait JFXApp | package application

Permalink

object JFXApp

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

Type Members

  1. abstract class Parameters extends SFXDelegate[javafx.application.Application.Parameters]

    Permalink

    Wraps Application.Parameters class.

  2. class PrimaryStage extends Stage

    Permalink

    Simple helper class for construction of primary application stages.

    Simple helper class for construction of primary application stages.

    The primary stage has to wrap an instance of a JavaFX primary stage created by JavaFX when application is initialized.

    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. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. var ActiveApp: JFXApp

    Permalink
  5. var AutoShow: Boolean

    Permalink
  6. object Parameters

    Permalink
  7. var Stage: Stage

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. def userAgentStylesheet: String

    Permalink

    Get the user agent stylesheet used by the whole application.

    Get the user agent stylesheet used by the whole application. This is used to provide default styling for all ui controls and other nodes. A value of null means the platform default stylesheet is being used.

    NOTE: This method must be called on the JavaFX Application Thread.

    returns

    The URL to the stylesheet as a String.

  22. def userAgentStylesheet_=(url: String): Unit

    Permalink

    Set the user agent stylesheet used by the whole application.

    Set the user agent stylesheet used by the whole application. This is used to provide default styling for all ui controls and other nodes. Each release of JavaFX may have a new default value for this so if you need to guarantee consistency you will need to call this method and choose what default you would like for your application. A value of null will restore the platform default stylesheet. This property can also be set on the command line with -Djavafx.userAgentStylesheetUrl=[URL] Setting it on the command line overrides anything set using this method in code.

    NOTE: This method must be called on the JavaFX Application Thread.

    url

    The URL to the stylesheet as a String.

  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def ACTIVE_APP: JFXApp

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 8.0.60-R10) Prefer Scala naming convention over Java, use ActiveApp instead.

  2. def ACTIVE_APP_=(app: JFXApp): Unit

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 8.0.60-R10) Prefer Scala naming convention over Java, use ActiveApp instead.

  3. def AUTO_SHOW: Boolean

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 8.0.60-R10) Prefer Scala naming convention over Java, use AutoShow instead.

  4. def AUTO_SHOW_=(autoShow: Boolean): Unit

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 8.0.60-R10) Prefer Scala naming convention over Java, use AutoShow instead.

  5. def STAGE: Stage

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 8.0.60-R10) Prefer Scala naming convention over Java, use Stage instead.

  6. def STAGE_=(stage: Stage): Unit

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 8.0.60-R10) Prefer Scala naming convention over Java, use Stage instead.

Inherited from AnyRef

Inherited from Any

Ungrouped