c

Fx.Application

abstract class _Class extends App

A convenient way to create GUI main executable class

object MyApp extends Fx.Application {

  scene = "Hello World"

}
Ordering
  1. Alphabetic
Inherited
  1. Application
  2. App
  3. scala.DelayedInit
  4. scala.AnyRef
  5. scala.Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Constructor

  1. new Application(title: String = \/, show: Boolean = ON, verbose: Boolean = ON)

    title

    application window title

    show

    if true, stage.show will auto run

    verbose

    if true, console prints application name, start, and end time

    Definition Classes
    _Class

Method

  1. def args: Refs[String]

    Arguments

    Arguments

    Application arguments the JVM was started with

    These are the arguments passed to

    def main(sa: Array[String])
    Definition Classes
    _Class
  2. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  3. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  4. def delayedInit(body: ⇒ Unit): Unit

    Delayed init

    Delayed init

    Implementation detail, it should not be used in code

    Definition Classes
    _Class → DelayedInit
  5. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  6. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  8. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. def main(sa: Array[String]): Unit

    Main

    Main

    Implementation detail, it should not be used in code

    Definition Classes
    _Class_Class
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  14. def stage: Stage

    Stage

    Stage

    Current Fx.Stage

    Definition Classes
    _Class
  15. def startTime: Time

    Start time

    Start time

    Application start time

    Definition Classes
    _Class
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Operator

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any

Property

  1. def scene: Scene

    Scene to create

    Scene to create

    The scene must be assigned within Fx.Application code

    Generally Fx.Scene is expected

    However for simple cases anything can be assigned with default scene auto created

    {
      scene = "Hello World"
    
      // gets translated to
    
      scene = Fx.Label.make("Hello World")
    
      // gets translated to
    
      scene = new Fx.Scene(600, 400, Fx.Pane.Border.withCenter(Fx.Label.make("Hello World")))
    }
    Definition Classes
    _Class
Linear Supertypes
App, DelayedInit, AnyRef, Any
Source: _Class.scala