object Paper
- Alphabetic
- By Inheritance
- Paper
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val A0: Paper
Specifies the ISO A0 size, 841 mm by 1189 mm.
- val A1: Paper
Specifies the ISO A1 size, 594 mm by 841 mm.
- val A2: Paper
Specifies the ISO A2 size, 420 mm by 594 mm.
- val A3: Paper
Specifies the ISO A3 size, 297 mm by 420 mm.
- val A4: Paper
Specifies the ISO A4 size, 210 mm by 297 mm.
- val A5: Paper
Specifies the ISO A5 size, 148 mm by 210 mm.
- val A6: Paper
Specifies the ISO A6 size, 105 mm by 148 mm.
- val C: Paper
Specifies the engineering C size, 17 inch by 22 inch.
- val DesignatedLong: Paper
Specifies the ISO Designated Long size, 110 mm by 220 mm.
- val Executive: Paper
Specifies the executive size, 7.25 inches by 10.5 inches.
- val JapanesePostcard: Paper
Specifies the Japanese postcard size, 100 mm by 148 mm.
- val JisB4: Paper
Specifies the JIS B4 size, 257 mm by 364 mm.
- val JisB5: Paper
Specifies the JIS B5 size, 182 mm by 257 mm.
- val JisB6: Paper
Specifies the JIS B6 size, 128 mm by 182 mm.
- val Legal: Paper
Specifies the North American legal size, 8.5 inches by 14 inches.
- val MonarchEnvelope: Paper
Specifies the Monarch envelope size, 3.87 inch by 7.5 inch.
- val Na8X10: Paper
Specifies the North American 8 inch by 10 inch paper.
- val NaLetter: Paper
Specifies the North American letter size, 8.5 inches by 11 inches.
- val NaNumber10Envelope: Paper
Specifies the North American Number 10 business envelope size, 4.125 inches by 9.5 inches.
- val Tabloid: Paper
Specifies the tabloid size, 11 inches by 17 inches.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- implicit def sfxPaper2jfx(pp: Paper): javafx.print.Paper
Converts a ScalaFX Paper to its JavaFX counterpart.
Converts a ScalaFX Paper to its JavaFX counterpart.
- pp
ScalaFX Paper
- returns
JavaFX Paper
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
ScalaFX is a UI DSL written within the Scala Language that sits on top of JavaFX 2.x and and JavaFX 8. This means that every ScalaFX application is also a valid Scala application. By extension it supports full interoperability with Java and can run anywhere the Java Virtual Machine (JVM) and JavaFX 2.0 or JavaFX 8 are supported.
Package Structure
ScalaFX package structure corresponds to JavaFX package structure, for instance
scalafx.animation
corresponds tojavafx.animation
.Example Usage
A basic ScalaFX application is created creating an object that is an instance of
JFXApp
. Following Java FX theatre metaphor, it contains astage
that contains ascene
. Astage
roughly corresponds to a window in a typical UI environment. Thescene
holds UI content presented to the user. In the example below, the content is a pane with a singlelabel
component.