SingleRunApp

open class SingleRunApp<T, P : Position2D<P>?> : Application

The class models a non-reusable GUI for simulation display.

Parameters

Functions

Link copied to clipboard
open fun addEffectGroups(path: String)
Adds effect from a file.
open fun addEffectGroups(effectGroups: Collection<EffectGroup<P>>)
Adds the effects to the current effects.
Link copied to clipboard
open fun addParam(name: String, value: String)
The method adds a new named parameter.
Link copied to clipboard
fun getHostServices(): HostServices
Link copied to clipboard
fun getParameters(): Application.Parameters
Link copied to clipboard
open fun getUserAgentStylesheet(): String
Link copied to clipboard
open fun init()
Link copied to clipboard
open fun launch(p: Class<out Application>, p1: Array<String>)
Link copied to clipboard
fun notifyPreloader(p: Preloader.PreloaderNotification)
Link copied to clipboard
open fun setUserAgentStylesheet(p: String)
Link copied to clipboard
open fun start(primaryStage: Stage)
Link copied to clipboard
open fun stop()

Properties

Link copied to clipboard
private open var effectGroups: ObservableList<EffectGroup<P>>
Link copied to clipboard
val PARAMETER_NAME_END: String
Default parameter end string.
Link copied to clipboard
val PARAMETER_NAME_START: String
Default parameter start string.
Link copied to clipboard
private var params: Map<String, String>
Link copied to clipboard
val ROOT_LAYOUT: String
Main layout without nested layouts.
Link copied to clipboard
private open var simulation: Simulation<T, P>
Link copied to clipboard
val USE_EFFECT_GROUPS_FROM_FILE: String
Effect pass param name.