Package-level declarations

Types

Link copied to clipboard
interface AnimationScope

Node animations configurator interface for ParallelTransition and SequentialTransition.

Link copied to clipboard

Background configurator class.

Link copied to clipboard

Border configurator class.

Link copied to clipboard

ColumnConstraints configurator interface.

Link copied to clipboard

RowConstraints configurator interface.

Link copied to clipboard

Shape animations configurator interface for ParallelTransition and SequentialTransition.

Link copied to clipboard
annotation class TableColumnDslMarker

Delimits table column DSL configuration.

Link copied to clipboard
interface TableColumnScope<S>

TableColumn configurator interface.

Link copied to clipboard

TreeTableColumn configurator interface.

Functions

Link copied to clipboard
fun Node.affineTransformation(configuration: Affine.() -> Unit): Affine

Adds Affine transformation.

Link copied to clipboard
inline fun Region.background(noinline builderAction: BackgroundBuilder.() -> Unit): Background

Sets new background with multiple BackgroundFill and/or BackgroundImage.

Link copied to clipboard
inline fun Region.backgroundFill(noinline builderAction: BackgroundBuilder.FillBuilder.() -> Unit): Background

Sets new background with single BackgroundFill.

Link copied to clipboard
inline fun Region.backgroundImage(image: Image, noinline builderAction: BackgroundBuilder.ImageBuilder.() -> Unit): Background

Sets new background with single BackgroundImage.

Link copied to clipboard
fun Node.blendEffect(configuration: Blend.() -> Unit): Blend

Sets Blend effect.

Link copied to clipboard
fun Node.bloomEffect(configuration: Bloom.() -> Unit): Bloom

Sets Bloom effect.

Link copied to clipboard
inline fun Region.border(noinline builderAction: BorderBuilder.() -> Unit): Border

Sets new border with multiple BorderStroke and/or BorderImage.

Link copied to clipboard
inline fun Region.borderImage(image: Image, noinline builderAction: BorderBuilder.ImageBuilder.() -> Unit): Border

Sets new border with single BorderImage.

Link copied to clipboard
inline fun Region.borderStroke(noinline builderAction: BorderBuilder.StrokeBuilder.() -> Unit): Border

Sets new border with single BorderStroke.

Link copied to clipboard
fun Node.boxBlurEffect(configuration: BoxBlur.() -> Unit): BoxBlur

Sets BoxBlur effect.

Link copied to clipboard
inline fun buildBackground(builderAction: BackgroundBuilder.() -> Unit): Background

Builds new background with multiple BackgroundFill and/or BackgroundImage.

Link copied to clipboard
inline fun buildBorder(builderAction: BorderBuilder.() -> Unit): Border

Builds new border with multiple BorderStroke and/or BorderImage.

Link copied to clipboard
inline fun Scene.capture(): WritableImage
inline fun Node.capture(image: WritableImage? = null, configuration: SnapshotParameters.() -> Unit = { }): WritableImage

Take a snapshot of this Node returning image it wrote.

Link copied to clipboard
fun Node.colorAdjustEffect(configuration: ColorAdjust.() -> Unit): ColorAdjust

Sets ColorAdjust effect.

Link copied to clipboard
fun Node.colorInputEffect(configuration: ColorInput.() -> Unit): ColorInput

Sets ColorInput effect.

Link copied to clipboard
fun GridPane.columnConstraints(configuration: ColumnConstraintsScope.() -> Unit)

Configure GridPane column constraints.

Link copied to clipboard
fun <S> TableColumn<S, *>.columns(configuration: TableColumnScope<S>.() -> Unit)

Configure TableColumn columns, essentially enabling multi-line column.

fun <S> TableView<S>.columns(configuration: TableColumnScope<S>.() -> Unit)

Configure TableView columns.

fun <S> TreeTableColumn<S, *>.columns(configuration: TreeTableColumnScope<S>.() -> Unit)

Configure TreeTableColumn columns, essentially enabling multi-line column.

fun <S> TreeTableView<S>.columns(configuration: TreeTableColumnScope<S>.() -> Unit)

Configure TreeTableView columns.

Link copied to clipboard
inline fun TableView<*>.constrained()

Apply TableView.CONSTRAINED_RESIZE_POLICY to this TableView.

inline fun TreeTableView<*>.constrained()

Apply TreeTableView.CONSTRAINED_RESIZE_POLICY to this TreeTableView.

Link copied to clipboard
fun Node.displacementMapEffect(configuration: DisplacementMap.() -> Unit): DisplacementMap

Sets DisplacementMap effect.

Link copied to clipboard
fun Node.dropShadowEffect(configuration: DropShadow.() -> Unit): DropShadow

Sets DropShadow effect.

Link copied to clipboard
fun Node.fadeTransition(duration: Duration = 400.0.milliseconds, configuration: FadeTransition.() -> Unit): FadeTransition

Plays a FadeTransition.

Link copied to clipboard
fun Shape.fillTransition(duration: Duration = 400.0.milliseconds, fromValue: Color? = null, toValue: Color? = null, configuration: FillTransition.() -> Unit): FillTransition

Plays a FillTransition.

Link copied to clipboard
inline fun <T : Node> Node.find(selector: String): T

Alias of Node.lookup with non-null return and specified type.

inline fun <T : Node> Scene.find(selector: String): T

Alias of Scene.lookup with non-null return and specified type.

Link copied to clipboard
fun Node.gaussianBlurEffect(configuration: GaussianBlur.() -> Unit): GaussianBlur

Sets GaussianBlur effect.

Link copied to clipboard
fun Node.glowEffect(configuration: Glow.() -> Unit): Glow

Sets Glow effect.

Link copied to clipboard
fun Node.imageInputEffect(configuration: ImageInput.() -> Unit): ImageInput

Sets ImageInput effect.

Link copied to clipboard
fun Node.innerShadowEffect(configuration: InnerShadow.() -> Unit): InnerShadow

Sets InnerShadow effect.

Link copied to clipboard
inline fun insetsOf(): Insets

Empty insets. An Insets instance with all offsets equal to zero.

inline fun insetsOf(all: Double): Insets

Create an inset where Double number will be applied to all side.

fun insetsOf(all: Int): Insets

Create an inset where Int number will be applied to all side.

fun insetsOf(all: Long): Insets

Create an inset where Long number will be applied to all side.

inline fun insetsOf(vertical: Double = 0.0, horizontal: Double = 0.0): Insets

Create an inset where Double number will be applied to both side.

fun insetsOf(vertical: Int = 0, horizontal: Int = 0): Insets

Create an inset where Int number will be applied to both side.

fun insetsOf(vertical: Long = 0, horizontal: Long = 0): Insets

Create an inset where Long number will be applied to both side.

inline fun insetsOf(top: Double = 0.0, right: Double = 0.0, bottom: Double = 0.0, left: Double = 0.0): Insets

Create an inset where Double number will be applied to each side.

fun insetsOf(top: Int = 0, right: Int = 0, bottom: Int = 0, left: Int = 0): Insets

Create an inset where Int number will be applied to each side.

fun insetsOf(top: Long = 0, right: Long = 0, bottom: Long = 0, left: Long = 0): Insets

Create an inset where Long number will be applied to each side.

Link copied to clipboard
inline fun MultipleSelectionModel<*>.isNotSelected(): Boolean
inline fun SelectionModel<*>.isNotSelected(): Boolean

Returns true if the model is not selected.

inline fun ToggleGroup.isNotSelected(): Boolean

Returns true if toggle button is not selected in this group.

Link copied to clipboard
inline fun MultipleSelectionModel<*>.isSelected(): Boolean
inline fun SelectionModel<*>.isSelected(): Boolean

Returns true if the model is selected.

inline fun ToggleGroup.isSelected(): Boolean

Returns true if toggle button is selected in this group.

Link copied to clipboard
fun Node.lightingEffect(configuration: Lighting.() -> Unit): Lighting

Sets Lighting effect.

Link copied to clipboard
fun Node.motionBlurEffect(configuration: MotionBlur.() -> Unit): MotionBlur

Sets MotionBlur effect.

Link copied to clipboard
fun Node.parallelTransition(configuration: AnimationScope.() -> Unit): ParallelTransition

Creates a ParallelTransition for this node.

Link copied to clipboard
fun Node.pathTransition(duration: Duration = 400.0.milliseconds, path: Shape? = null, configuration: PathTransition.() -> Unit): PathTransition

Plays a PathTransition.

Link copied to clipboard
fun Node.perspectiveTransformEffect(configuration: PerspectiveTransform.() -> Unit): PerspectiveTransform

Sets PerspectiveTransform effect.

Link copied to clipboard
fun Node.reflectionEffect(configuration: Reflection.() -> Unit): Reflection

Sets Reflection effect.

Link copied to clipboard
fun Node.rotateTransformation(configuration: Rotate.() -> Unit): Rotate

Adds Rotate transformation.

Link copied to clipboard
fun Node.rotateTransition(duration: Duration = 400.0.milliseconds, configuration: RotateTransition.() -> Unit): RotateTransition

Plays a RotateTransition.

Link copied to clipboard
fun GridPane.rowConstraints(configuration: RowConstraintsScope.() -> Unit)

Configure GridPane row constraints.

Link copied to clipboard
fun Node.scaleTransformation(configuration: Scale.() -> Unit): Scale

Adds Scale transformation.

Link copied to clipboard
fun Node.scaleTransition(duration: Duration = 400.0.milliseconds, configuration: ScaleTransition.() -> Unit): ScaleTransition

Plays a ScaleTransition.

Link copied to clipboard
inline fun ToggleGroup.selectIndex(index: Int)

Select toggle by index.

Link copied to clipboard
fun Node.sepiaToneEffect(configuration: SepiaTone.() -> Unit): SepiaTone

Sets SepiaTone effect.

Link copied to clipboard
fun Node.sequentialTransition(configuration: AnimationScope.() -> Unit): SequentialTransition

Creates a SequentialTransition for this node.

Link copied to clipboard
fun Node.shadowEffect(configuration: Shadow.() -> Unit): Shadow

Sets Shadow effect.

Link copied to clipboard
fun Shape.shapeParallelTransition(configuration: ShapeAnimationScope.() -> Unit): ParallelTransition

Creates a ParallelTransition for this shape.

Link copied to clipboard
fun Shape.shapeSequentialTransition(configuration: ShapeAnimationScope.() -> Unit): SequentialTransition

Creates a SequentialTransition for this shape.

Link copied to clipboard
fun Node.shearTransformation(configuration: Shear.() -> Unit): Shear

Adds Shear transformation.

Link copied to clipboard
fun Shape.strokeTransition(duration: Duration = 400.0.milliseconds, fromValue: Color? = null, toValue: Color? = null, configuration: StrokeTransition.() -> Unit): StrokeTransition

Plays a StrokeTransition.

Link copied to clipboard
inline fun BufferedImage.toFxImage(wimg: WritableImage? = null): WritableImage

Snapshots the specified BufferedImage and stores a copy of its pixels into a JavaFX Image object, creating a new object if needed.

Link copied to clipboard
inline fun Image.toSwingImage(bimg: BufferedImage? = null): BufferedImage

Snapshots the specified JavaFX Image object and stores a copy of its pixels into a BufferedImage object, creating a new object if needed.

Link copied to clipboard
fun Node.translateTransformation(configuration: Translate.() -> Unit): Translate

Adds Translate transformation.

Link copied to clipboard
fun Node.translateTransition(duration: Duration = 400.0.milliseconds, configuration: TranslateTransition.() -> Unit): TranslateTransition

Plays a TranslateTransition.

Link copied to clipboard
inline fun TableView<*>.unconstrained()

Apply TableView.UNCONSTRAINED_RESIZE_POLICY to this TableView.

inline fun TreeTableView<*>.unconstrained()

Apply TreeTableView.UNCONSTRAINED_RESIZE_POLICY to this TreeTableView.

Properties

Link copied to clipboard
val BASELINE: Pos

Represents positioning on the baseline vertically and on the center horizontally.

Link copied to clipboard
val BASELINE_LEFT: Pos

Represents positioning on the baseline vertically and on the left horizontally.

Link copied to clipboard

Represents positioning on the baseline vertically and on the right horizontally.

Link copied to clipboard
val BOTTOM: Pos

Represents positioning on the bottom vertically and on the center horizontally.

Link copied to clipboard
val BOTTOM_LEFT: Pos

Represents positioning on the bottom vertically and on the left horizontally.

Link copied to clipboard
val BOTTOM_RIGHT: Pos

Represents positioning on the bottom vertically and on the right horizontally.

Link copied to clipboard
val CENTER: Pos

Represents positioning on the center both vertically and horizontally.

Link copied to clipboard
val H_CENTER: HPos

Indicates centered horizontal position.

Link copied to clipboard
val H_LEFT: HPos

Indicates left horizontal position.

Link copied to clipboard
val H_RIGHT: HPos

Indicates right horizontal position.

Link copied to clipboard
val HORIZONTAL: Orientation

The horizontal (right <-> left) orientation.

Link copied to clipboard
val LEFT: Pos

Represents positioning on the center vertically and on the left horizontally.

Link copied to clipboard
val SelectionModel<*>.notSelectedBinding: BooleanBinding

Returns a boolean binding that holds true when item is not selected.

val MultipleSelectionModel<*>.notSelectedBinding: BooleanBinding

Returns a boolean binding that holds true when item is not selected.

val ToggleGroup.notSelectedBinding: BooleanBinding

Returns a boolean binding that holds true when item is not selected.

Link copied to clipboard
val RIGHT: Pos

Represents positioning on the center vertically and on the right horizontally.

Link copied to clipboard
val SelectionModel<*>.selectedBinding: BooleanBinding

Returns a boolean binding that holds true when item is selected.

val MultipleSelectionModel<*>.selectedBinding: BooleanBinding

Returns a boolean binding that holds true when item is selected.

val ToggleGroup.selectedBinding: BooleanBinding

Returns a boolean binding that holds true when item is selected.

Link copied to clipboard
val ToggleGroup.selectedIndex: Int

Get selected toggle index.

Link copied to clipboard
val SIDE_BOTTOM: Side

Represents bottom side of a rectangle.

Link copied to clipboard
val SIDE_LEFT: Side

Represents left side of a rectangle.

Link copied to clipboard
val SIDE_RIGHT: Side

Represents right side of a rectangle.

Link copied to clipboard
val SIDE_TOP: Side

Represents top side of a rectangle.

Link copied to clipboard
val TOP: Pos

Represents positioning on the top vertically and on the center horizontally.

Link copied to clipboard
val TOP_LEFT: Pos

Represents positioning on the top vertically and on the left horizontally.

Link copied to clipboard
val TOP_RIGHT: Pos

Represents positioning on the top vertically and on the right horizontally.

Link copied to clipboard
val V_BASELINE: VPos

Indicates baseline vertical position.

Link copied to clipboard
val V_BOTTOM: VPos

Indicates bottom vertical position.

Link copied to clipboard
val V_CENTER: VPos

Indicates centered vertical position.

Link copied to clipboard
val V_TOP: VPos

Indicates top vertical position.

Link copied to clipboard
val VERTICAL: Orientation

The vertical (top <-> bottom) orientation.