Road3d

scalation.scala3d.Road3d
object Road3d extends JFXApp3

The Road3d object implements a simple road animation.

runMain scalation.scala3d.Road3d

Attributes

Graph
Supertypes
trait JFXApp3
class Object
trait Matchable
class Any
Self type
Road3d.type

Members list

Type members

Classlikes

enum Direction

The Direction enumeration indicates the directions that cars can move.

The Direction enumeration indicates the directions that cars can move.

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

override def start(): Unit

Create a 3D scene and start the animation.

Create a 3D scene and start the animation.

Attributes

Definition Classes
JFXApp3

Inherited methods

def hostServices: HostServices

Attributes

Inherited from:
JFXApp3
def main(args: Array[String]): Unit

Perform app-related initialization, and execute initialization/construction code for all classes and objects that extend this trait.

Perform app-related initialization, and execute initialization/construction code for all classes and objects that extend this trait.

Value parameters

args

Command line arguments.

Attributes

Note

You are strongly advised not to override this function.

Inherited from:
JFXApp3
def stopApp(): Unit

This method is called when the application should stop, and provides a convenient place to prepare for application exit and destroy resources.

This method is called when the application should stop, and provides a convenient place to prepare for application exit and destroy resources.

It is called from javafx.Application.stop method. The implementation of this method provided by the JFXApp3 class does nothing.

NOTE: This method is called on the JavaFX Application Thread, the same as javafx.Application.stop method.

Attributes

Inherited from:
JFXApp3

Inherited fields

var stage: PrimaryStage

JFXApp3 stage must be an instance of scalafx.application.JFXApp3.PrimaryStage to ensure that it actually is a proper wrapper for the primary stage supplied by JavaFX.

JFXApp3 stage must be an instance of scalafx.application.JFXApp3.PrimaryStage to ensure that it actually is a proper wrapper for the primary stage supplied by JavaFX.

Attributes

Inherited from:
JFXApp3