package transformation
- Alphabetic
- Public
- Protected
Type Members
- class FilteredBuffer[E] extends TransformationBuffer[E, E] with SFXDelegate[FilteredList[E]]
Wraps a JavaFX FilteredList.
- class SortedBuffer[E] extends TransformationBuffer[E, E] with SFXDelegate[SortedList[E]]
Wraps a JavaFX SortedList.
- abstract class TransformationBuffer[E, F] extends ObservableBufferBase[E] with SFXDelegate[TransformationList[E, F]]
A base class for all buffers that wraps other buffers in a way that changes the buffer's elements, order, size or generally it's structure.
A base class for all buffers that wraps other buffers in a way that changes the buffer's elements, order, size or generally it's structure. If the source list is observable, a listener is automatically added to it and the events are delegated.
Wraps a JavaFX TransformationList.
- E
- the type parameter of this buffer.
- F
- the upper bound of the type of the source buffer.
- trait TransformationIncludes extends AnyRef
Contains implicit methods to convert from javafx.collections.transformation Classes to their ScalaFX counterparts.
Value Members
- object FilteredBuffer
- object SortedBuffer
- object TransformationBuffer
- object TransformationIncludes extends TransformationIncludes
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
JFXApp3
. 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.