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 getParameters(): Application.Parameters
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 setEffectGroups(effectGroups: Collection<EffectGroup<P>>)
Setter method for the collection of groups of effects.
Link copied to clipboard
open fun setParams(params: Array<String>)
The method sets the parameters.
Link copied to clipboard
open fun setSimulation(simulation: Simulation<T, P>)
Setter method for simulation.
Link copied to clipboard
open fun start(primaryStage: Stage)
Link copied to clipboard
open fun stop()

Properties

Link copied to clipboard
open val hostServices: HostServices
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
val ROOT_LAYOUT: String
Main layout without nested layouts.
Link copied to clipboard
val STYLESHEET_CASPIAN: String
Link copied to clipboard
val STYLESHEET_MODENA: String
Link copied to clipboard
val USE_EFFECT_GROUPS_FROM_FILE: String
Effect pass param name.
Link copied to clipboard
open var userAgentStylesheet: String