Fx

object Fx

GUI API

Fx is an easy to use wrapper of JavaFx technology. Scalqa observable containers like Idx.OM and Pro.OM serve as a simple to use data model. All the GUI controls are wrapped into Scala style classes.

Some use examples can be found in samplesFx.

There is also a "Trading Station" example as a stand alone project.

Source
__.scala
class java.lang.Object
trait scala.Matchable
class Any

Member

object Base

GUI Base

Base contains GUI basic definitions, which are aliased in Fx root and can be called without Base. prefix

For example:

val p: Fx.Base.Pos = CENTER
// is usually defined as
val p: Fx.Pos = CENTER


val s: Fx.Base.Side = TOP
// is usually defined as
val s: Fx.Side = TOP
Source
__.scala

GUI Widgets

Control object also contains most of the available controls, which are aliased in Fx root and can be called without Control. prefix

For example:

val b: Fx.Control.Button = ???
// is usually defined as
val b: Fx.Button = ???


val c: Fx.Control.CheckBox = ???
// is usually defined as
val c: Fx.CheckBox = ???
Source
__.scala

GUI Widgets

Control object also contains most of the available controls, which are aliased in Fx root and can be called without Control. prefix

For example:

val b: Fx.Control.Button = ???
// is usually defined as
val b: Fx.Button = ???


val c: Fx.Control.CheckBox = ???
// is usually defined as
val c: Fx.CheckBox = ???
Source
__.scala

GUI Layout

Scene object also contains types responsible for building GUI layout, except for widgets (which are defined in Fx.Control)

All the Scene children are aliased in Fx root and usually called without Scene. prefix

For example:

val w: Fx.Scene.Window = ???
// is usually defined as
val w: Fx.Window = ???

val b: Fx.Scene.Pane.Border = ???
// is usually defined as
val b: Fx.Pane.Border = ???
Source
__.scala

GUI Layout

Scene object also contains types responsible for building GUI layout, except for widgets (which are defined in Fx.Control)

All the Scene children are aliased in Fx root and usually called without Scene. prefix

For example:

val w: Fx.Scene.Window = ???
// is usually defined as
val w: Fx.Window = ???

val b: Fx.Scene.Pane.Border = ???
// is usually defined as
val b: Fx.Pane.Border = ???
Source
__.scala

Alias

inline def Abstract: Fx.Abstract
Source
__.scala
inline def Action: Fx.Action
Source
__.scala
inline def Button: Fx.Button
Source
__.scala
type Cell = Fx.Cell
Source
__.scala
inline def Cell: Fx.Cell
Source
__.scala
type Chart = Fx.Chart
Source
__.scala
inline def Chart: Fx.Chart
Source
__.scala
inline def CheckBox: Fx.CheckBox
Source
__.scala
inline def Color: Fx.Paint.Color
Source
__.scala
type ComboBox[A] = Fx.ComboBox[A]
Source
__.scala
inline def ComboBox: Fx.ComboBox
Source
__.scala
type Event = Fx.Event
Source
__.scala
inline def Event: Fx.Event
Source
__.scala
inline def Font: Fx.Text.Font
Source
__.scala
type HPos = Fx.HPos
Source
__.scala
inline def HPos: Fx.HPos
Source
__.scala
type Image = Fx.Image
Source
__.scala
inline def Image: Fx.Image
Source
__.scala
inline def Insets: Fx.Insets
Source
__.scala
inline def JavaFx: Fx.JavaFx
Source
__.scala
type Label = Fx.Label
Source
__.scala
inline def Label: Fx.Label
Source
__.scala
type List[A] = Fx.List[A]
Source
__.scala
inline def List: Fx.List
Source
__.scala
Source
__.scala
type Paint = Fx.Paint
Source
__.scala
inline def Paint: Fx.Paint
Source
__.scala
type Pane = Fx.Pane
Source
__.scala
inline def Pane: Fx.Pane
Source
__.scala
type Pos = Fx.Pos
Source
__.scala
inline def Pos: Fx.Pos
Source
__.scala
type Selection[A] = Fx.Selection[A]
Source
__.scala
type Shape = Fx.Shape
Source
__.scala
inline def Shape: Fx.Shape
Source
__.scala
type Side = Fx.Side
Source
__.scala
inline def Side: Fx.Side
Source
__.scala
type Stage = Fx.Stage
Source
__.scala
inline def Stage: Fx.Stage
Source
__.scala
type Style = Fx.Style
Source
__.scala
inline def Style: Fx.Style
Source
__.scala
type Table[A] = Fx.Table[A]
Source
__.scala
inline def Table: Fx.Table
Source
__.scala
type Text = Fx.Text
Source
__.scala
inline def Text: Fx.Text
Source
__.scala
inline def Toggle: Fx.Toggle
Source
__.scala
inline def Tooltip: Fx.Tooltip
Source
__.scala
type VPos = Fx.VPos
Source
__.scala
inline def VPos: Fx.VPos
Source
__.scala
inline def Window: Fx.Window
Source
__.scala