package chart
- Alphabetic
- By Inheritance
- chart
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class AreaChart[X, Y] extends XYChart[X, Y] with SFXDelegate[javafx.scene.chart.AreaChart[X, Y]]
- abstract class Axis[T] extends Region with SFXDelegate[javafx.scene.chart.Axis[T]]
- class BarChart[X, Y] extends XYChart[X, Y] with SFXDelegate[javafx.scene.chart.BarChart[X, Y]]
- class BubbleChart[X, Y] extends XYChart[X, Y] with SFXDelegate[javafx.scene.chart.BubbleChart[X, Y]]
- class CategoryAxis extends Axis[String] with SFXDelegate[javafx.scene.chart.CategoryAxis]
- abstract class Chart extends Region with SFXDelegate[javafx.scene.chart.Chart]
- trait ChartIncludes extends AnyRef
Contains implicit methods to convert from
javafx.scene.chart
Classes/Traits to their ScalaFX counterparts. - class LineChart[X, Y] extends XYChart[X, Y] with SFXDelegate[javafx.scene.chart.LineChart[X, Y]]
- class NumberAxis extends ValueAxis[Number] with SFXDelegate[javafx.scene.chart.NumberAxis]
- class PieChart extends Chart with SFXDelegate[javafx.scene.chart.PieChart]
- class ScatterChart[X, Y] extends XYChart[X, Y] with SFXDelegate[javafx.scene.chart.ScatterChart[X, Y]]
- class StackedAreaChart[X, Y] extends XYChart[X, Y] with SFXDelegate[javafx.scene.chart.StackedAreaChart[X, Y]]
- class StackedBarChart[X, Y] extends XYChart[X, Y] with SFXDelegate[javafx.scene.chart.StackedBarChart[X, Y]]
- abstract class ValueAxis[T <: Number] extends Axis[T] with SFXDelegate[javafx.scene.chart.ValueAxis[T]]
- abstract class XYChart[X, Y] extends Chart with SFXDelegate[javafx.scene.chart.XYChart[X, Y]]
Value Members
- object AreaChart
- object Axis
- object BarChart
- object BubbleChart
- object CategoryAxis
- object Chart
- object ChartIncludes extends ChartIncludes
- object LineChart
- object NumberAxis
- object PieChart
- object ScatterChart
- object StackedAreaChart
- object StackedBarChart
- object ValueAxis
- object XYChart
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.