Package-level declarations

Properties

Link copied to clipboard
var Stage.icon: Image

Removes old icons and set a new one to this stage.

Link copied to clipboard
var Stage.maxSize: Pair<Number, Number>

Sets maximum width and height of this Stage.

Link copied to clipboard
var Stage.minSize: Pair<Number, Number>

Sets minimum width and height of this Stage.

Link copied to clipboard
var Stage.size2: Pair<Number, Number>

Sets width and height of this Stage.

Link copied to clipboard
val Scene.stage: Stage

Get window as Stage.

Functions

Link copied to clipboard
inline fun Window.chooseDirectory(configuration: DirectoryChooser.() -> Unit): File?

Choose a directory.

Link copied to clipboard
inline fun Window.chooseFile(configuration: FileChooser.() -> Unit): File?

Choose a file to open.

Link copied to clipboard
inline fun Window.chooseFiles(configuration: FileChooser.() -> Unit): List<File>

Choose multiple files to open.

Link copied to clipboard
inline fun Window.chooseSaveFile(configuration: FileChooser.() -> Unit): File?

Choose a file to save.

Link copied to clipboard
inline fun Window.moveTo(event: ContextMenuEvent)

Move Window to specified location using ContextMenuEvent.

inline fun Window.moveTo(event: DragEvent)

Move Window to specified location using DragEvent.

inline fun Window.moveTo(event: GestureEvent)

Move Window to specified location using GestureEvent.

inline fun Window.moveTo(event: MouseEvent)

Move Window to specified location using MouseEvent.

inline fun Window.moveTo(event: TouchPoint)

Move Window to specified location using TouchPoint.

fun Window.moveTo(x: Number, y: Number)

Move Window to specified location.

Link copied to clipboard
inline fun stage(style: StageStyle = StageStyle.DECORATED, configuration: Stage.() -> Unit): Stage

Creates a stage with options.